public class ModelBuildTrigger
Trigger NLP model build.
| Constructor and Description |
|---|
ModelBuildTrigger(org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> applicationId,
boolean all,
boolean onlyIfModelNotExists)
Trigger NLP model build.
|
| Modifier and Type | Method and Description |
|---|---|
org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> |
component1()
The application id to build
|
boolean |
component2()
Is it a full rebuild?
|
boolean |
component3()
Builds only if model does not exist
|
ModelBuildTrigger |
copy(org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> applicationId,
boolean all,
boolean onlyIfModelNotExists)
Trigger NLP model build.
|
boolean |
equals(java.lang.Object p) |
boolean |
getAll()
Is it a full rebuild?
|
org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> |
getApplicationId()
The application id to build
|
boolean |
getOnlyIfModelNotExists()
Builds only if model does not exist
|
int |
hashCode() |
java.lang.String |
toString() |
public ModelBuildTrigger(@NotNull
org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> applicationId,
boolean all,
boolean onlyIfModelNotExists)
Trigger NLP model build.
applicationId - The application id to buildall - Is it a full rebuild?onlyIfModelNotExists - Builds only if model does not exist@NotNull public org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> getApplicationId()
The application id to build
public boolean getAll()
Is it a full rebuild?
public boolean getOnlyIfModelNotExists()
Builds only if model does not exist
@NotNull public org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> component1()
The application id to build
public boolean component2()
Is it a full rebuild?
public boolean component3()
Builds only if model does not exist
@NotNull public ModelBuildTrigger copy(@NotNull org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> applicationId, boolean all, boolean onlyIfModelNotExists)
Trigger NLP model build.
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)