public interface TestWinrmCommand extends BaseTest
SshMachineLocation
of the target entity.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<Duration> |
BACKOFF_TO_PERIOD |
static ConfigKey<java.lang.String> |
COMMAND
Supply a bat 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 ConfigKey<java.lang.String> |
PS_SCRIPT
Supply the PowerShell script to invoke directly.
|
static ConfigKey<java.lang.String> |
RUN_DIR
The working directory that the script will be run from on the target machine.
|
ASSERTIONS, ITERATION_LIMIT, TIMEOUT
TARGET_ENTITY, TARGET_ENTITY_ID, TARGET_ENTITY_NAME, TARGET_ENTITY_TYPE, TARGET_ID, TARGET_RESOLUTION_TIMEOUT
RESTART, SERVICE_UP, START, STOP
resolveTarget
addChild, addChild, addFeed, clearParent, enrichers, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getCreationTime, getDisplayName, getEntityType, getIconUrl, getId, getLocations, getParent, groups, invoke, policies, relations, removeChild, sensors, setDisplayName, setParent
getCatalogItemId, getCatalogItemIdSearchPath, subscriptions, tags
config, getConfig
static final ConfigKey<java.lang.String> PS_SCRIPT
static final ConfigKey<java.lang.String> COMMAND
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