Package com.im.df.api
Interface DFSchemaProvider.StepInfo
-
- Enclosing interface:
- DFSchemaProvider
public static interface DFSchemaProvider.StepInfo
This 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 boolean
canContinue()
Determines whether the schema init process should continua after the step.java.lang.Throwable
getException()
Gets an exception that happened when performing the step's operations, if any.java.lang.String
getMessage()
Gets a human readable summary of the step result.boolean
isSuccessful()
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:
true
if the finished successfully,false
otherwise.
-
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:
true
if the schema init process can continue,false
if the process should be aborted.
-
-