package saker.build.task
Builder class for TaskInvocationConfiguration.
Use builder() to create a new instance.
| public TaskInvocationConfiguration | build() Builds the task invocation configuration. |
| public TaskInvocationConfiguration | Builds the task invocation configuration and allows reusing this builder. |
| public TaskExecutionEnvironmentSelector | Gets the currently set execution environment selector. |
| public int | Gets the current value of the requested computation tokens. |
| public boolean | Gets the current value of the cacheability. |
| public boolean | Gets the current value of the inner task computationality. |
| public boolean | Gets if the task prefers to be run on the local build environment. |
| public boolean | Gets the current value of the remote dispatchability. |
| public boolean | isShort() Gets the current value of the short task setting. |
| public Builder | setCacheable( Sets if the task is cacheable. |
| public Builder | setExecutionEnvironmentSelector( Sets the execution environment
selector. |
| public Builder | setInnerTasksComputationals( Sets if the inner tasks of the build task are
computational. |
| public Builder | setPrefersLocalEnvironment( Sets if the task prefers the local build
environment. |
| public Builder | setRemoteDispatchable( Sets if the task is remote dispatchable. |
| public Builder | setRequestedComputationTokenCount( Sets the requested computation
token count. |
| public Builder | setShort( Sets if the task is short. |
Builds the task invocation configuration.
The builder cannot be reused after this call.
The created configuration.
Builds the task invocation configuration and allows reusing this builder.
The created configuration.
Gets the currently set execution environment selector.
The environment selector.
saker.build 0.8.14
Gets the current value of the requested computation tokens.
The number of requested computation tokens.
saker.build 0.8.14
Gets the current value of the cacheability.
true if the task is cacheable.saker.build 0.8.14
Gets the current value of the inner task computationality.
true if the inner tasks are computationals.saker.build 0.8.14
Gets if the task prefers to be run on the local build environment.
true if the local environment is preferred.saker.build 0.8.16
Gets the current value of the remote dispatchability.
true if the task is remote dispatchable.saker.build 0.8.14
Gets the current value of the short task setting.
true if the task is short.saker.build 0.8.14
public Builder setExecutionEnvironmentSelector(TaskExecutionEnvironmentSelector environmentSelector)
Sets the execution environment
selector.
If null is passed as an argument, AnyTaskExecutionEnvironmentSelector is used.
environmentSelectorThe environment selector.
thisSets if the inner tasks of the build task are
computational.
innerTasksComputationals
true if the inner tasks are computational.thisSets if the task prefers the local build
environment.
prefersLocalEnvironment
true if the local environment is preferred.thissaker.build 0.8.16
Sets if the task is remote dispatchable.
remoteDispatchable
true if the task is remote dispatchable.this