Class ValidationContext
java.lang.Object
com.lucidworks.fusion.connector.plugin.api.validation.ValidationContext
The
ValidationContext class, primarily provides the configuration to be validated.
It also provides metadata, which currently includes an indicator of the current validation state:
* CREATE: The configuration is new and validation must succeed before it can be saved.
* UPDATE: The configuration is being updated. Similarly, the validation must succeed in order for the change to be
saved.
* RUN: The validation is being requested before a job start request. If the validation fails, the job will not
proceed.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ValidationContextcreateValidationContext(String operation) booleanisCreate()booleanbooleanisRun()booleanisUpdate()static ValidationContextstatic ValidationContextstatic ValidationContext
-
Method Details
-
createValidationContext
-
isCreate
public boolean isCreate() -
validationContextCreate
-
isUpdate
public boolean isUpdate() -
validationContextUpdate
-
isRun
public boolean isRun() -
validationContextRun
-
isCreateOrUpdate
public boolean isCreateOrUpdate() -
getConfigOperation
-