@Test public void supportsShellBasedExperiments () { assertFalse(awsEC2Container.supportsShellBasedExperiments()); }
@Override public boolean supportsShellBasedExperiments () { String routableAddress = getRoutableAddress(); return super.supportsShellBasedExperiments() && routableAddress != null && !routableAddress.isBlank() && awsEC2Platform .hasKey(keyName); }
AwsEC2Container extends AwsContainer { @Override public boolean supportsShellBasedExperiments () { String routableAddress = getRoutableAddress(); return super.supportsShellBasedExperiments() && routableAddress != null && !routableAddress.isBlank() && awsEC2Platform .hasKey(keyName); } }
AwsEC2Container extends AwsContainer { @Override public boolean supportsShellBasedExperiments () { String routableAddress = getRoutableAddress(); return super.supportsShellBasedExperiments() && routableAddress != null && !routableAddress.isBlank() && awsEC2Platform .hasKey(keyName); } private  AwsEC2Container(); }
AwsEC2Container extends AwsContainer { @Override public boolean supportsShellBasedExperiments () { String routableAddress = getRoutableAddress(); return super.supportsShellBasedExperiments() && routableAddress != null && !routableAddress.isBlank() && awsEC2Platform .hasKey(keyName); } private  AwsEC2Container(); static AwsEC2ContainerBuilder builder(); String getInstanceId(); String getGroupIdentifier(); String getKeyName(); String getName(); boolean isSSHCapable(); String getImageId(); @Override Platform getPlatform(); @Override boolean eligibleForExperiments(); @Override String getSimpleName(); @Override String getAggregationIdentifier(); @Override DataDogIdentifier getDataDogIdentifier(); @Override boolean isCattle(); @Override boolean supportsShellBasedExperiments(); @ChaosExperiment(experimentType = ExperimentType.STATE) void stopContainer(Experiment experiment); @ChaosExperiment(experimentType = ExperimentType.STATE) void restartContainer(Experiment experiment); @ChaosExperiment(experimentType = ExperimentType.STATE, experimentScope = ExperimentScope.CATTLE) void terminateASGContainer(Experiment experiment); @ChaosExperiment(experimentType = ExperimentType.NETWORK) void removeSecurityGroups(Experiment experiment); String getRoutableAddress(); String getPublicAddress(); }
AwsEC2Container extends AwsContainer { @Override public boolean supportsShellBasedExperiments () { String routableAddress = getRoutableAddress(); return super.supportsShellBasedExperiments() && routableAddress != null && !routableAddress.isBlank() && awsEC2Platform .hasKey(keyName); } private  AwsEC2Container(); static AwsEC2ContainerBuilder builder(); String getInstanceId(); String getGroupIdentifier(); String getKeyName(); String getName(); boolean isSSHCapable(); String getImageId(); @Override Platform getPlatform(); @Override boolean eligibleForExperiments(); @Override String getSimpleName(); @Override String getAggregationIdentifier(); @Override DataDogIdentifier getDataDogIdentifier(); @Override boolean isCattle(); @Override boolean supportsShellBasedExperiments(); @ChaosExperiment(experimentType = ExperimentType.STATE) void stopContainer(Experiment experiment); @ChaosExperiment(experimentType = ExperimentType.STATE) void restartContainer(Experiment experiment); @ChaosExperiment(experimentType = ExperimentType.STATE, experimentScope = ExperimentScope.CATTLE) void terminateASGContainer(Experiment experiment); @ChaosExperiment(experimentType = ExperimentType.NETWORK) void removeSecurityGroups(Experiment experiment); String getRoutableAddress(); String getPublicAddress();  }