@Retention(value=RUNTIME) @Documented @Target(value=TYPE) public @interface ExecuteOn
| Modifier and Type | Optional Element and Description |
|---|---|
Class<? extends ClusterExecutor> |
executor
Identifies the
ClusterExecutor that is responsible for remotely executing
commands on the target clusters or instances. |
FailurePolicy |
ifFailure
Identifies the expected behavior from the framework if any of the clustered
invocation failed.
|
FailurePolicy |
ifNeverStarted
Identifies the expected behavior from the framework if any of the clustered
invocation could not be invoked because the remote server has never been
started.
|
FailurePolicy |
ifOffline
Identifies the expected behaviour from the framework if any of the clustered
invocation could not be invoked because the remote server was offline.
|
RuntimeType[] |
value
Returns an array of process types on which the annotated action should run
|
public abstract RuntimeType[] value
public abstract Class<? extends ClusterExecutor> executor
ClusterExecutor that is responsible for remotely executing
commands on the target clusters or instances. The provider will be looked up
in the habitat by its type.ClusterExecutor type or null to use the default executor that takes the
"target" command parameter topublic abstract FailurePolicy ifOffline
public abstract FailurePolicy ifNeverStarted
public abstract FailurePolicy ifFailure
Copyright © 2017–2020 Eclipse Foundation. All rights reserved.