public interface SimpleShellCommandTest extends BaseTest
Entity.AdjunctSupport<T extends EntityAdjunct>, Entity.EnricherSupport, Entity.GroupSupport, Entity.PolicySupport, Entity.SensorSupport
BrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupport
Configurable.ConfigurationSupport
Startable.RestartEffectorBody, Startable.StartEffectorBody, Startable.StopEffectorBody
Modifier and Type | Field and Description |
---|---|
static ConfigKey<java.lang.Object> |
ASSERT_ERR
Assertions on the standard error of the command as a String.
|
static ConfigKey<java.lang.Object> |
ASSERT_OUT
Assertions on the standard output of the command as a String.
|
static ConfigKey<java.lang.Object> |
ASSERT_STATUS
Assertions on the exit code of the simple command.
|
static ConfigKey<java.lang.String> |
COMMAND
Supply the command to invoke directly.
|
static java.util.Map<java.lang.String,java.lang.Object> |
DEFAULT_ASSERTION
If no assertions are configured in the test then the default is this assertion that exit status of the command
is zero (successful).
|
static AttributeSensorAndConfigKey<java.lang.String,java.lang.String> |
DOWNLOAD_URL
Download a script to invoke.
|
static ConfigKey<java.lang.String> |
RUN_DIR
The working directory that the script will be run from on the target machine.
|
static ConfigKey<java.lang.String> |
SCRIPT_DIR
Where the script will be downloaded on the target machine.
|
static java.lang.String |
TMP_DEFAULT
Default location for temporary files.
|
ASSERTIONS, TIMEOUT
TARGET_ENTITY, TARGET_ID
RESTART, SERVICE_UP, START, STOP
resolveTarget
addChild, addChild, addEnricher, addEnricher, addFeed, addGroup, addPolicy, addPolicy, clearParent, enrichers, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getConfigRaw, getConfigRaw, getCreationTime, getDisplayName, getEnrichers, getEntityType, getGroups, getIconUrl, getId, getLocations, getParent, getPolicies, groups, invoke, policies, relations, removeChild, removeEnricher, removeGroup, removePolicy, sensors, setDisplayName, setParent
getCatalogItemId, subscriptions, tags
config, getConfig, setConfig
static final java.lang.String TMP_DEFAULT
static final ConfigKey<java.lang.String> COMMAND
DOWNLOAD_URL
.static final AttributeSensorAndConfigKey<java.lang.String,java.lang.String> DOWNLOAD_URL
COMMAND
.static final ConfigKey<java.lang.String> SCRIPT_DIR
static final ConfigKey<java.lang.String> RUN_DIR
static final java.util.Map<java.lang.String,java.lang.Object> DEFAULT_ASSERTION
static final ConfigKey<java.lang.Object> ASSERT_STATUS
static final ConfigKey<java.lang.Object> ASSERT_OUT
static final ConfigKey<java.lang.Object> ASSERT_ERR