public interface SimpleShellCommandTest extends BaseTest
org.apache.brooklyn.api.entity.Entity.AdjunctSupport<T extends org.apache.brooklyn.api.objs.EntityAdjunct>, org.apache.brooklyn.api.entity.Entity.EnricherSupport, org.apache.brooklyn.api.entity.Entity.GroupSupport, org.apache.brooklyn.api.entity.Entity.PolicySupport, org.apache.brooklyn.api.entity.Entity.SensorSupportorg.apache.brooklyn.api.objs.BrooklynObject.RelationSupport<T extends org.apache.brooklyn.api.objs.BrooklynObject>, org.apache.brooklyn.api.objs.BrooklynObject.SubscriptionSupport, org.apache.brooklyn.api.objs.BrooklynObject.TagSupportorg.apache.brooklyn.api.objs.Configurable.ConfigurationSupportStartable.RestartEffectorBody, Startable.StartEffectorBody, Startable.StopEffectorBody| Modifier and Type | Field and Description |
|---|---|
static org.apache.brooklyn.config.ConfigKey<Object> |
ASSERT_ERR
Assertions on the standard error of the command as a String.
|
static org.apache.brooklyn.config.ConfigKey<Object> |
ASSERT_OUT
Assertions on the standard output of the command as a String.
|
static org.apache.brooklyn.config.ConfigKey<Object> |
ASSERT_STATUS
Assertions on the exit code of the simple command.
|
static org.apache.brooklyn.config.ConfigKey<String> |
COMMAND
Supply the command to invoke directly.
|
static Map<String,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<String,String> |
DOWNLOAD_URL
Download a script to invoke.
|
static org.apache.brooklyn.config.ConfigKey<String> |
RUN_DIR
The working directory that the script will be run from on the target machine.
|
static org.apache.brooklyn.config.ConfigKey<String> |
SCRIPT_DIR
Where the script will be downloaded on the target machine.
|
static String |
TMP_DEFAULT
Default location for temporary files.
|
ASSERTIONS, TIMEOUTTARGET_ENTITY, TARGET_IDRESTART, SERVICE_UP, START, STOPresolveTargetaddChild, 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, setParentgetCatalogItemId, subscriptions, tagsstatic final String TMP_DEFAULT
static final org.apache.brooklyn.config.ConfigKey<String> COMMAND
DOWNLOAD_URL.static final AttributeSensorAndConfigKey<String,String> DOWNLOAD_URL
COMMAND.static final org.apache.brooklyn.config.ConfigKey<String> SCRIPT_DIR
static final org.apache.brooklyn.config.ConfigKey<String> RUN_DIR
static final Map<String,Object> DEFAULT_ASSERTION
static final org.apache.brooklyn.config.ConfigKey<Object> ASSERT_STATUS
static final org.apache.brooklyn.config.ConfigKey<Object> ASSERT_OUT
static final org.apache.brooklyn.config.ConfigKey<Object> ASSERT_ERR
Copyright © 2012–2016 The Apache Software Foundation. All rights reserved.