Class PermissionsMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
ai.timefold.solver.tools.maven.AbstractPlatformModelMojo
ai.timefold.solver.tools.maven.PermissionsMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Goal that reports the permissions/scopes the configured Personal Access Token has on Timefold Platform.
-
Field Summary
Fields 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, PROP_SERVER_ID, serverId, sessionFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractPlatformModelMojo
configureHttpRequest, fetchPlatformIdentityInfo, getAccessTokenProvider, getPlatformUrl, getPropertyOrParameter, getTenants, printErrorInfo, readErrorField, readErrorMessage, readModelDescriptor, requireAccessToken, setAccessTokenProvider, validateMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
PermissionsMojo
public PermissionsMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-