Class DeployModelMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
ai.timefold.solver.tools.maven.AbstractPlatformModelMojo
ai.timefold.solver.tools.maven.DeployModelMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="deploy",
defaultPhase=PRE_INTEGRATION_TEST)
public class DeployModelMojo
extends AbstractPlatformModelMojo
Goal that deploy (registers model descriptor) model to platform
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final StringFields inherited from class AbstractPlatformModelMojo
buildDirectory, handleSubscription, httpClient, key, mapper, platformUrl, PROP_DRY_RUN, PROP_MODEL_KEY, PROP_MODEL_SUBS, PROP_MODEL_TENANTS, PROP_PLATFORM_URL, sessionFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractPlatformModelMojo
configureHttpRequest, getPropertyOrParameter, getTenants, readModelDescriptor, validateMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
PROP_MODEL_TYPE
- See Also:
-
PROP_MODEL_OVERWRITE
- See Also:
-
PROP_MODEL_SKIP_DEPLOY
- See Also:
-
PROP_MODEL_DEPLOY_DESCRIPTOR_ONLY
- See Also:
-
-
Constructor Details
-
DeployModelMojo
public DeployModelMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
validate
-