Package com.im.df.api
Interface DFSchemaProvider.StepInfo
-
- Enclosing interface:
- DFSchemaProvider
public static interface DFSchemaProvider.StepInfoThis is a result of each schema init step (DFSchemaProvider.State) operations. This info object is held by each step and can be obtained from the step'sDFSchemaProvider.State.getResult()method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanContinue()Determines whether the schema init process should continua after the step.java.lang.ThrowablegetException()Gets an exception that happened when performing the step's operations, if any.java.lang.StringgetMessage()Gets a human readable summary of the step result.booleanisSuccessful()Gets the success status of the step.
-
-
-
Method Detail
-
getMessage
java.lang.String getMessage()
Gets a human readable summary of the step result. Can be for example "Login successful.", "Login failed.", etc.- Returns:
- A human readable error message.
-
isSuccessful
boolean isSuccessful()
Gets the success status of the step.- Returns:
trueif the finished successfully,falseotherwise.
-
getException
java.lang.Throwable getException()
Gets an exception that happened when performing the step's operations, if any.- Returns:
- An exception that happened during the step or
null.
-
canContinue
boolean canContinue()
Determines whether the schema init process should continua after the step.- Returns:
trueif the schema init process can continue,falseif the process should be aborted.
-
-