Package org.cdlib.mrt.s3.tools
Class CloudNodeTest
java.lang.Object
org.cdlib.mrt.s3.tools.CloudNodeTest
- Author:
- replic
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Fileformat(org.cdlib.mrt.utility.StateInf responseState, org.cdlib.mrt.utility.LoggerInf logger) static StringformatANVL(org.cdlib.mrt.utility.StateInf responseState, org.cdlib.mrt.utility.LoggerInf logger) static StringformatIt(org.cdlib.mrt.formatter.FormatterInf formatter, org.cdlib.mrt.utility.StateInf responseState) static StringformatJSON(org.cdlib.mrt.utility.StateInf responseState, org.cdlib.mrt.utility.LoggerInf logger) static StringformatXML(org.cdlib.mrt.utility.StateInf responseState, org.cdlib.mrt.utility.LoggerInf logger) static CloudNodeTestgetCloudNodeTest(File testDir, String nodeIOName, String nodeNums, String keyName, String dataName, org.cdlib.mrt.utility.LoggerInf logger) getTests()static voidvoidrunTest()voidsetDEBUG_STANDALONE(boolean DEBUG_STANDALONE) protected voidtestAddState(NodeService service) testDeleteState(NodeService service) booleantestFixityState(NodeService service) testGet(NodeService service, File outFile) testIsAlive(NodeService service) testMetadataState(NodeService service) voidtestService(long nodeNum) testServiceState(NodeService service)
-
Constructor Details
-
Method Details
-
main
- Throws:
org.cdlib.mrt.utility.TException
-
getCloudNodeTest
public static CloudNodeTest getCloudNodeTest(File testDir, String nodeIOName, String nodeNums, String keyName, String dataName, org.cdlib.mrt.utility.LoggerInf logger) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
setEnv
protected void setEnv(String nodeIOName, String nodeNums, String keyName, String dataName) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
runTest
public void runTest() throws org.cdlib.mrt.utility.TException- Throws:
org.cdlib.mrt.utility.TException
-
testService
public void testService(long nodeNum) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
testServiceState
- Throws:
org.cdlib.mrt.utility.TException
-
testIsAlive
- Throws:
org.cdlib.mrt.utility.TException
-
testMetadataState
- Throws:
org.cdlib.mrt.utility.TException
-
testAddState
- Throws:
org.cdlib.mrt.utility.TException
-
testGet
- Throws:
org.cdlib.mrt.utility.TException
-
testDeleteState
- Throws:
org.cdlib.mrt.utility.TException
-
testFixityState
- Throws:
org.cdlib.mrt.utility.TException
-
format
public static File format(org.cdlib.mrt.utility.StateInf responseState, org.cdlib.mrt.utility.LoggerInf logger) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
formatXML
public static String formatXML(org.cdlib.mrt.utility.StateInf responseState, org.cdlib.mrt.utility.LoggerInf logger) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
formatJSON
public static String formatJSON(org.cdlib.mrt.utility.StateInf responseState, org.cdlib.mrt.utility.LoggerInf logger) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
formatANVL
public static String formatANVL(org.cdlib.mrt.utility.StateInf responseState, org.cdlib.mrt.utility.LoggerInf logger) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
formatIt
public static String formatIt(org.cdlib.mrt.formatter.FormatterInf formatter, org.cdlib.mrt.utility.StateInf responseState) -
getTests
-
setDEBUG_STANDALONE
public void setDEBUG_STANDALONE(boolean DEBUG_STANDALONE)
-