public interface TestWinrmCommand extends BaseTest
SshMachineLocation
of the target entity.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<org.apache.brooklyn.util.time.Duration> |
BACKOFF_TO_PERIOD |
static org.apache.brooklyn.config.ConfigKey<String> |
COMMAND
Supply a bat 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 org.apache.brooklyn.config.ConfigKey<String> |
PS_SCRIPT
Supply the PowerShell script to invoke directly.
|
static org.apache.brooklyn.config.ConfigKey<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, addEnricher, addEnricher, addFeed, addGroup, addPolicy, addPolicy, clearParent, enrichers, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getCreationTime, getDisplayName, getEnrichers, getEntityType, getGroups, getIconUrl, getId, getLocations, getParent, getPolicies, groups, invoke, policies, relations, removeChild, removeEnricher, removeGroup, removePolicy, sensors, setDisplayName, setParentgetCatalogItemId, getCatalogItemIdSearchPath, subscriptions, tagsstatic final org.apache.brooklyn.config.ConfigKey<org.apache.brooklyn.util.time.Duration> BACKOFF_TO_PERIOD
static final org.apache.brooklyn.config.ConfigKey<String> PS_SCRIPT
static final org.apache.brooklyn.config.ConfigKey<String> COMMAND
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–2017 The Apache Software Foundation. All rights reserved.