Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractPlatformModelMojo - Class in ai.timefold.solver.tools.maven
- AbstractPlatformModelMojo() - Constructor for class ai.timefold.solver.tools.maven.AbstractPlatformModelMojo
- AccessTokenProvider - Class in ai.timefold.solver.tools.maven
-
Resolves the personal access token that authenticates the build against Timefold Platform, either from the environment, or from a
<server>entry of the Maven settings. - AccessTokenProvider() - Constructor for class ai.timefold.solver.tools.maven.AccessTokenProvider
-
Only meant for test doubles, which override
AccessTokenProvider.getAccessToken()and therefore never read either source. - AccessTokenProvider(Settings, SettingsDecrypter, String, Log) - Constructor for class ai.timefold.solver.tools.maven.AccessTokenProvider
- ai.timefold.solver.tools.maven - package ai.timefold.solver.tools.maven
- ai.timefold.solver.tools.maven.client - package ai.timefold.solver.tools.maven.client
B
- buildDirectory - Variable in class ai.timefold.solver.tools.maven.AbstractPlatformModelMojo
-
URL to the platform that model should be deployed to
C
- config() - Method in record class ai.timefold.solver.tools.maven.client.PlatformIdentityInfo
-
Returns the value of the
configrecord component. - ConfigurationInfo - Record Class in ai.timefold.solver.tools.maven.client
- ConfigurationInfo(String) - Constructor for record class ai.timefold.solver.tools.maven.client.ConfigurationInfo
-
Creates an instance of a
ConfigurationInforecord class. - configureHttpRequest(HttpRequest.Builder) - Method in class ai.timefold.solver.tools.maven.AbstractPlatformModelMojo
- ConfigureMojo - Class in ai.timefold.solver.tools.maven
- ConfigureMojo() - Constructor for class ai.timefold.solver.tools.maven.ConfigureMojo
- containerRegistry() - Method in record class ai.timefold.solver.tools.maven.client.ConfigurationInfo
-
Returns the value of the
containerRegistryrecord component.
D
- DEFAULT_SERVER_ID - Static variable in class ai.timefold.solver.tools.maven.AccessTokenProvider
-
Id of the
<server>entry the token is read from, unless the build configures a different one. - DeployModelMojo - Class in ai.timefold.solver.tools.maven
-
Goal that deploy (registers model descriptor) model to platform
- DeployModelMojo() - Constructor for class ai.timefold.solver.tools.maven.DeployModelMojo
E
- ENCRYPTION_GUIDE_URL - Static variable in class ai.timefold.solver.tools.maven.AccessTokenProvider
- equals(Object) - Method in record class ai.timefold.solver.tools.maven.client.ConfigurationInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class ai.timefold.solver.tools.maven.client.PlatformIdentityInfo
-
Indicates whether some other object is "equal to" this one.
- execute() - Method in class ai.timefold.solver.tools.maven.ConfigureMojo
- execute() - Method in class ai.timefold.solver.tools.maven.DeployModelMojo
- execute() - Method in class ai.timefold.solver.tools.maven.PermissionsMojo
- execute() - Method in class ai.timefold.solver.tools.maven.UndeployModelMojo
F
- fetchPlatformIdentityInfo(boolean) - Method in class ai.timefold.solver.tools.maven.AbstractPlatformModelMojo
G
- getAccessToken() - Method in class ai.timefold.solver.tools.maven.AccessTokenProvider
-
The environment takes precedence, so that a build which already exports the token, typically on CI, keeps authenticating with it even when the machine also has a server entry configured.
- getAccessTokenProvider() - Method in class ai.timefold.solver.tools.maven.AbstractPlatformModelMojo
- getPlatformUrl() - Method in class ai.timefold.solver.tools.maven.AbstractPlatformModelMojo
-
Resolves the configured platform URL, stripping any trailing slashes so it can be safely concatenated with a path that starts with a slash (e.g.
- getProject() - Method in class ai.timefold.solver.tools.maven.ConfigureMojo
- getPropertyOrParameter(String, T) - Method in class ai.timefold.solver.tools.maven.AbstractPlatformModelMojo
- getServerId() - Method in class ai.timefold.solver.tools.maven.AccessTokenProvider
-
The id of the
<server>entry that is actually read, i.e. the configured one once normalized, or the default when the build configures none. - getTenants() - Method in class ai.timefold.solver.tools.maven.AbstractPlatformModelMojo
H
- handleSubscription - Variable in class ai.timefold.solver.tools.maven.AbstractPlatformModelMojo
-
Determines if the model registration should automatically subscribe/unsubscribe to the registered model
- hasAccessToNamespace(String) - Method in record class ai.timefold.solver.tools.maven.client.PlatformIdentityInfo
- hashCode() - Method in record class ai.timefold.solver.tools.maven.client.ConfigurationInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class ai.timefold.solver.tools.maven.client.PlatformIdentityInfo
-
Returns a hash code value for this object.
- hasPushAccessRights() - Method in record class ai.timefold.solver.tools.maven.client.PlatformIdentityInfo
- httpClient - Variable in class ai.timefold.solver.tools.maven.AbstractPlatformModelMojo
K
- key - Variable in class ai.timefold.solver.tools.maven.AbstractPlatformModelMojo
-
Unique key used to register model with - used also when unregistering
M
- mapper - Variable in class ai.timefold.solver.tools.maven.AbstractPlatformModelMojo
N
- namespace - Variable in class ai.timefold.solver.tools.maven.ConfigureMojo
-
Namespace that model is associated with
- namespaces() - Method in record class ai.timefold.solver.tools.maven.client.PlatformIdentityInfo
-
Returns the value of the
namespacesrecord component.
P
- PAT_ENV_VARIABLE - Static variable in class ai.timefold.solver.tools.maven.AccessTokenProvider
- PermissionsMojo - Class in ai.timefold.solver.tools.maven
-
Goal that reports the permissions/scopes the configured Personal Access Token has on Timefold Platform.
- PermissionsMojo() - Constructor for class ai.timefold.solver.tools.maven.PermissionsMojo
- PlatformIdentityInfo - Record Class in ai.timefold.solver.tools.maven.client
-
The identity behind the personal access token, as reported by the platform's
aboutmeendpoint. - PlatformIdentityInfo(String, Set, Set, Set, ConfigurationInfo) - Constructor for record class ai.timefold.solver.tools.maven.client.PlatformIdentityInfo
-
Creates an instance of a
PlatformIdentityInforecord class. - platformUrl - Variable in class ai.timefold.solver.tools.maven.AbstractPlatformModelMojo
-
URL to the platform that model should be deployed to
- printErrorInfo(String) - Method in class ai.timefold.solver.tools.maven.AbstractPlatformModelMojo
- PROP_DRY_RUN - Static variable in class ai.timefold.solver.tools.maven.AbstractPlatformModelMojo
- PROP_MODEL_CONFIG_SKIP - Static variable in class ai.timefold.solver.tools.maven.ConfigureMojo
- PROP_MODEL_DEPLOY_DESCRIPTOR_ONLY - Static variable in class ai.timefold.solver.tools.maven.DeployModelMojo
- PROP_MODEL_KEY - Static variable in class ai.timefold.solver.tools.maven.AbstractPlatformModelMojo
- PROP_MODEL_NATIVE_SUPPORTED - Static variable in class ai.timefold.solver.tools.maven.ConfigureMojo
- PROP_MODEL_OVERWRITE - Static variable in class ai.timefold.solver.tools.maven.DeployModelMojo
- PROP_MODEL_SKIP_DEPLOY - Static variable in class ai.timefold.solver.tools.maven.DeployModelMojo
- PROP_MODEL_SKIP_UNDEPLOY - Static variable in class ai.timefold.solver.tools.maven.UndeployModelMojo
- PROP_MODEL_SUBS - Static variable in class ai.timefold.solver.tools.maven.AbstractPlatformModelMojo
- PROP_MODEL_TENANTS - Static variable in class ai.timefold.solver.tools.maven.AbstractPlatformModelMojo
- PROP_MODEL_TYPE - Static variable in class ai.timefold.solver.tools.maven.DeployModelMojo
- PROP_NAMESPACE - Static variable in class ai.timefold.solver.tools.maven.ConfigureMojo
- PROP_PLATFORM_URL - Static variable in class ai.timefold.solver.tools.maven.AbstractPlatformModelMojo
- PROP_SERVER_ID - Static variable in class ai.timefold.solver.tools.maven.AbstractPlatformModelMojo
R
- readEnvironmentToken() - Method in class ai.timefold.solver.tools.maven.AccessTokenProvider
-
Overridable so that tests do not have to change the environment of the process they run in.
- readErrorField(String, String) - Method in class ai.timefold.solver.tools.maven.AbstractPlatformModelMojo
- readErrorMessage(String) - Method in class ai.timefold.solver.tools.maven.AbstractPlatformModelMojo
-
Reads the platform error message from an error response body, so that the reason for the failure is part of the reported error and not only of the build log.
- readModelDescriptor(Path) - Method in class ai.timefold.solver.tools.maven.AbstractPlatformModelMojo
- requireAccessToken() - Method in class ai.timefold.solver.tools.maven.AbstractPlatformModelMojo
-
Resolves the personal access token, failing the build when none is configured.
- resolveNamespace(PlatformIdentityInfo) - Method in class ai.timefold.solver.tools.maven.ConfigureMojo
-
Resolves the namespace the model is deployed under, which becomes the group of the container image.
S
- scopes() - Method in record class ai.timefold.solver.tools.maven.client.PlatformIdentityInfo
-
Returns the value of the
scopesrecord component. - serverId - Variable in class ai.timefold.solver.tools.maven.AbstractPlatformModelMojo
-
Id of the
<server>entry in the Maven settings that holds the personal access token, as an alternative to exporting it asTIMEFOLD_PAT - session - Variable in class ai.timefold.solver.tools.maven.AbstractPlatformModelMojo
- setAccessTokenProvider(AccessTokenProvider) - Method in class ai.timefold.solver.tools.maven.AbstractPlatformModelMojo
- shouldExecute() - Method in class ai.timefold.solver.tools.maven.ConfigureMojo
T
- tenants() - Method in record class ai.timefold.solver.tools.maven.client.PlatformIdentityInfo
-
Returns the value of the
tenantsrecord component. - toString() - Method in record class ai.timefold.solver.tools.maven.client.ConfigurationInfo
-
Returns a string representation of this record class.
- toString() - Method in record class ai.timefold.solver.tools.maven.client.PlatformIdentityInfo
-
Returns a string representation of this record class.
U
- UndeployModelMojo - Class in ai.timefold.solver.tools.maven
-
Goal that undeploy (unregisters model descriptor) model from platform
- UndeployModelMojo() - Constructor for class ai.timefold.solver.tools.maven.UndeployModelMojo
- user() - Method in record class ai.timefold.solver.tools.maven.client.PlatformIdentityInfo
-
Returns the value of the
userrecord component.
V
- validate() - Method in class ai.timefold.solver.tools.maven.AbstractPlatformModelMojo
- validate(String) - Method in class ai.timefold.solver.tools.maven.DeployModelMojo
- validateEnterpriseBuild() - Method in class ai.timefold.solver.tools.maven.ConfigureMojo
-
Timefold Platform only accepts models that inherit from
timefold-solver-service-parentand that are built with the Enterprise Edition.
All Classes and Interfaces|All Packages|Constant Field Values