public interface TestWinrmCommand extends BaseTest
SshMachineLocation
of the target entity.Entity.AdjunctSupport<T extends EntityAdjunct>, Entity.EnricherSupport, Entity.GroupSupport, Entity.PolicySupport, Entity.SensorSupportBrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupportConfigurable.ConfigurationSupportStartable.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, TIMEOUTTARGET_ENTITY, TARGET_ENTITY_ID, TARGET_ENTITY_NAME, TARGET_ENTITY_TYPE, TARGET_ID, TARGET_RESOLUTION_TIMEOUTRESTART, SERVICE_UP, START, STOPresolveTargetaddChild, addChild, addFeed, clearParent, enrichers, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getCreationTime, getDisplayName, getEntityType, getIconUrl, getId, getLocations, getParent, groups, invoke, policies, relations, removeChild, sensors, setDisplayName, setParentgetCatalogItemId, getCatalogItemIdSearchPath, subscriptions, tagsconfig, getConfigstatic 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