test_class.declarator: ec2RaiderImplUnderTest
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private EC2RaiderImpl ec2RaiderImplUnderTest;
test_class.type: EC2RaiderImpl
test_class.var_name: ec2RaiderImplUnderTest
test_class.declarator: ec2Delegator
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private  EC2Delegator ec2Delegator;
test_class.type: EC2Delegator
test_class.var_name: ec2Delegator
test_class.declarator: instance
test_class.modifier: private
test_class.original_string: private  Instance instance;
test_class.type: Instance
test_class.var_name: instance
test_class.file: cloudraider-core/src/test/java/com/intuit/cloudraider/core/impl/EC2RaiderImplTest.java
test_class.identifier: EC2RaiderImplTest
test_case.body: @Test (expected = InvalidInputDataException.class)
      public void testTerminateEc2InstancesByMissingId() throws Exception{
          ec2RaiderImplUnderTest.terminateEc2InstancesById("");
      }
test_case.class_method_signature: EC2RaiderImplTest.testTerminateEc2InstancesByMissingId()
test_case.full_signature: @Test (expected = InvalidInputDataException.class) public void testTerminateEc2InstancesByMissingId()
test_case.identifier: testTerminateEc2InstancesByMissingId
test_case.invocations: terminateEc2InstancesById
test_case.modifiers: @Test (expected = InvalidInputDataException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testTerminateEc2InstancesByMissingId()
focal_class.declarator: AVAILABILITY_ZONE_FILTER_KEY = "availability-zone"
focal_class.modifier: public static final
focal_class.original_string: public static final String AVAILABILITY_ZONE_FILTER_KEY = "availability-zone";
focal_class.type: String
focal_class.var_name: AVAILABILITY_ZONE_FILTER_KEY
focal_class.declarator: logger = LoggerFactory.getLogger(this.getClass())
focal_class.original_string: Logger logger = LoggerFactory.getLogger(this.getClass());
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: ec2Delegator
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private EC2Delegator ec2Delegator;
focal_class.type: EC2Delegator
focal_class.var_name: ec2Delegator
focal_class.file: cloudraider-core/src/main/java/com/intuit/cloudraider/core/impl/EC2RaiderImpl.java
focal_class.identifier: EC2RaiderImpl
focal_class.interfaces: implements EC2Raider
focal_class.class_method_signature: EC2RaiderImpl.EC2RaiderImpl()
focal_class.full_signature: public  EC2RaiderImpl()
focal_class.identifier: EC2RaiderImpl
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  EC2RaiderImpl()
focal_class.class_method_signature: EC2RaiderImpl.getEc2InstanceIdsWithCompulsoryTagsForAvailabilityZone(String availabilityZone, List<Tag> ignoreTags, List<Tag> compulsoryTags)
focal_class.full_signature: @Override public List<EC2InstanceTO> getEc2InstanceIdsWithCompulsoryTagsForAvailabilityZone(String availabilityZone, List<Tag> ignoreTags, List<Tag> compulsoryTags)
focal_class.identifier: getEc2InstanceIdsWithCompulsoryTagsForAvailabilityZone
focal_class.modifiers: @Override public
focal_class.parameters: (String availabilityZone, List<Tag> ignoreTags, List<Tag> compulsoryTags)
focal_class.return: List<EC2InstanceTO>
focal_class.signature: List<EC2InstanceTO> getEc2InstanceIdsWithCompulsoryTagsForAvailabilityZone(String availabilityZone, List<Tag> ignoreTags, List<Tag> compulsoryTags)
focal_class.class_method_signature: EC2RaiderImpl.getEc2InstancesForAvailabilityZone(String availabilityZone, List<String> instanceIdsToIgnore)
focal_class.full_signature: @Override public List<EC2InstanceTO> getEc2InstancesForAvailabilityZone(String availabilityZone, List<String> instanceIdsToIgnore)
focal_class.identifier: getEc2InstancesForAvailabilityZone
focal_class.modifiers: @Override public
focal_class.parameters: (String availabilityZone, List<String> instanceIdsToIgnore)
focal_class.return: List<EC2InstanceTO>
focal_class.signature: List<EC2InstanceTO> getEc2InstancesForAvailabilityZone(String availabilityZone, List<String> instanceIdsToIgnore)
focal_class.class_method_signature: EC2RaiderImpl.getEc2InstanceIPsForAvailabilityZone(String availabilityZone, List<String> instanceIdsToIgnore)
focal_class.full_signature: @Override public List<String> getEc2InstanceIPsForAvailabilityZone(String availabilityZone, List<String> instanceIdsToIgnore)
focal_class.identifier: getEc2InstanceIPsForAvailabilityZone
focal_class.modifiers: @Override public
focal_class.parameters: (String availabilityZone, List<String> instanceIdsToIgnore)
focal_class.return: List<String>
focal_class.signature: List<String> getEc2InstanceIPsForAvailabilityZone(String availabilityZone, List<String> instanceIdsToIgnore)
focal_class.class_method_signature: EC2RaiderImpl.getInstancesIPsForAZWithName(String name, String availabilityZone)
focal_class.full_signature: @Override public List<String> getInstancesIPsForAZWithName(String name, String availabilityZone)
focal_class.identifier: getInstancesIPsForAZWithName
focal_class.modifiers: @Override public
focal_class.parameters: (String name, String availabilityZone)
focal_class.return: List<String>
focal_class.signature: List<String> getInstancesIPsForAZWithName(String name, String availabilityZone)
focal_class.class_method_signature: EC2RaiderImpl.getReservationsByAvailabilityZone(String availabilityZone)
focal_class.full_signature: private List<Reservation> getReservationsByAvailabilityZone(String availabilityZone)
focal_class.identifier: getReservationsByAvailabilityZone
focal_class.modifiers: private
focal_class.parameters: (String availabilityZone)
focal_class.return: List<Reservation>
focal_class.signature: List<Reservation> getReservationsByAvailabilityZone(String availabilityZone)
focal_class.class_method_signature: EC2RaiderImpl.getInstanceIdsForTags(List<Tag> tags)
focal_class.full_signature: @Override public List<String> getInstanceIdsForTags(List<Tag> tags)
focal_class.identifier: getInstanceIdsForTags
focal_class.modifiers: @Override public
focal_class.parameters: (List<Tag> tags)
focal_class.return: List<String>
focal_class.signature: List<String> getInstanceIdsForTags(List<Tag> tags)
focal_class.class_method_signature: EC2RaiderImpl.getInstancesByName(String name)
focal_class.full_signature: @Override public List<EC2InstanceTO> getInstancesByName(String name)
focal_class.identifier: getInstancesByName
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: List<EC2InstanceTO>
focal_class.signature: List<EC2InstanceTO> getInstancesByName(String name)
focal_class.class_method_signature: EC2RaiderImpl.terminateEc2InstancesById(String... instanceIds)
focal_class.full_signature: @Override public void terminateEc2InstancesById(String... instanceIds)
focal_class.identifier: terminateEc2InstancesById
focal_class.modifiers: @Override public
focal_class.parameters: (String... instanceIds)
focal_class.return: void
focal_class.signature: void terminateEc2InstancesById(String... instanceIds)
focal_class.class_method_signature: EC2RaiderImpl.terminateEc2InstancesById(String instanceId)
focal_class.full_signature: @Override public void terminateEc2InstancesById(String instanceId)
focal_class.identifier: terminateEc2InstancesById
focal_class.modifiers: @Override public
focal_class.parameters: (String instanceId)
focal_class.return: void
focal_class.signature: void terminateEc2InstancesById(String instanceId)
focal_class.class_method_signature: EC2RaiderImpl.terminateEc2InstancesById(List<String> instanceIds)
focal_class.full_signature: @Override public void terminateEc2InstancesById(List<String> instanceIds)
focal_class.identifier: terminateEc2InstancesById
focal_class.modifiers: @Override public
focal_class.parameters: (List<String> instanceIds)
focal_class.return: void
focal_class.signature: void terminateEc2InstancesById(List<String> instanceIds)
focal_class.class_method_signature: EC2RaiderImpl.terminateEC2InstancesByName(String... names)
focal_class.full_signature: @Override public void terminateEC2InstancesByName(String... names)
focal_class.identifier: terminateEC2InstancesByName
focal_class.modifiers: @Override public
focal_class.parameters: (String... names)
focal_class.return: void
focal_class.signature: void terminateEC2InstancesByName(String... names)
focal_class.class_method_signature: EC2RaiderImpl.terminateEC2InstancesByName(String name, int numberOfInstances)
focal_class.full_signature: @Override public void terminateEC2InstancesByName(String name, int numberOfInstances)
focal_class.identifier: terminateEC2InstancesByName
focal_class.modifiers: @Override public
focal_class.parameters: (String name, int numberOfInstances)
focal_class.return: void
focal_class.signature: void terminateEC2InstancesByName(String name, int numberOfInstances)
focal_class.class_method_signature: EC2RaiderImpl.terminateEC2InstancesByNameHelper(String... names)
focal_class.full_signature: private List<String> terminateEC2InstancesByNameHelper(String... names)
focal_class.identifier: terminateEC2InstancesByNameHelper
focal_class.modifiers: private
focal_class.parameters: (String... names)
focal_class.return: List<String>
focal_class.signature: List<String> terminateEC2InstancesByNameHelper(String... names)
focal_class.class_method_signature: EC2RaiderImpl.getInstancesFromAnyTags(List<Tag> tags)
focal_class.full_signature: @Override public List<EC2InstanceTO> getInstancesFromAnyTags(List<Tag> tags)
focal_class.identifier: getInstancesFromAnyTags
focal_class.modifiers: @Override public
focal_class.parameters: (List<Tag> tags)
focal_class.return: List<EC2InstanceTO>
focal_class.signature: List<EC2InstanceTO> getInstancesFromAnyTags(List<Tag> tags)
focal_class.class_method_signature: EC2RaiderImpl.getEC2InstanceById(String instanceId)
focal_class.full_signature: @Override public EC2InstanceTO getEC2InstanceById(String instanceId)
focal_class.identifier: getEC2InstanceById
focal_class.modifiers: @Override public
focal_class.parameters: (String instanceId)
focal_class.return: EC2InstanceTO
focal_class.signature: EC2InstanceTO getEC2InstanceById(String instanceId)
focal_class.class_method_signature: EC2RaiderImpl.getEC2InstancesByIds(List<String> instanceIds)
focal_class.full_signature: @Override public List<EC2InstanceTO> getEC2InstancesByIds(List<String> instanceIds)
focal_class.identifier: getEC2InstancesByIds
focal_class.modifiers: @Override public
focal_class.parameters: (List<String> instanceIds)
focal_class.return: List<EC2InstanceTO>
focal_class.signature: List<EC2InstanceTO> getEC2InstancesByIds(List<String> instanceIds)
focal_class.class_method_signature: EC2RaiderImpl.getFilteredActiveInstances(List<String> filteredWords)
focal_class.full_signature: @Override public List<EC2InstanceTO> getFilteredActiveInstances(List<String> filteredWords)
focal_class.identifier: getFilteredActiveInstances
focal_class.modifiers: @Override public
focal_class.parameters: (List<String> filteredWords)
focal_class.return: List<EC2InstanceTO>
focal_class.signature: List<EC2InstanceTO> getFilteredActiveInstances(List<String> filteredWords)
focal_class.class_method_signature: EC2RaiderImpl.createEc2Instance(Instance i)
focal_class.full_signature: private EC2InstanceTO createEc2Instance(Instance i)
focal_class.identifier: createEc2Instance
focal_class.modifiers: private
focal_class.parameters: (Instance i)
focal_class.return: EC2InstanceTO
focal_class.signature: EC2InstanceTO createEc2Instance(Instance i)
focal_class.class_method_signature: EC2RaiderImpl.stopEc2Instances(String instanceId)
focal_class.full_signature: @Override public void stopEc2Instances(String instanceId)
focal_class.identifier: stopEc2Instances
focal_class.modifiers: @Override public
focal_class.parameters: (String instanceId)
focal_class.return: void
focal_class.signature: void stopEc2Instances(String instanceId)
focal_class.class_method_signature: EC2RaiderImpl.restartEc2Instances(String instanceId)
focal_class.full_signature: @Override public void restartEc2Instances(String instanceId)
focal_class.identifier: restartEc2Instances
focal_class.modifiers: @Override public
focal_class.parameters: (String instanceId)
focal_class.return: void
focal_class.signature: void restartEc2Instances(String instanceId)
focal_class.class_method_signature: EC2RaiderImpl.getInstanceStatusById(String instanceId)
focal_class.full_signature: @Override public String getInstanceStatusById(String instanceId)
focal_class.identifier: getInstanceStatusById
focal_class.modifiers: @Override public
focal_class.parameters: (String instanceId)
focal_class.return: String
focal_class.signature: String getInstanceStatusById(String instanceId)
focal_class.class_method_signature: EC2RaiderImpl.detachSecurityGroup(String instanceId, String securityGroup)
focal_class.full_signature: @Override public void detachSecurityGroup(String instanceId, String securityGroup)
focal_class.identifier: detachSecurityGroup
focal_class.modifiers: @Override public
focal_class.parameters: (String instanceId, String securityGroup)
focal_class.return: void
focal_class.signature: void detachSecurityGroup(String instanceId, String securityGroup)
focal_class.class_method_signature: EC2RaiderImpl.attachSecurityGroup(String instanceId, String securityGroup)
focal_class.full_signature: @Override public void attachSecurityGroup(String instanceId, String securityGroup)
focal_class.identifier: attachSecurityGroup
focal_class.modifiers: @Override public
focal_class.parameters: (String instanceId, String securityGroup)
focal_class.return: void
focal_class.signature: void attachSecurityGroup(String instanceId, String securityGroup)
focal_class.class_method_signature: EC2RaiderImpl.getSecurityGroups(String instanceId)
focal_class.full_signature: @Override public List<String> getSecurityGroups(String instanceId)
focal_class.identifier: getSecurityGroups
focal_class.modifiers: @Override public
focal_class.parameters: (String instanceId)
focal_class.return: List<String>
focal_class.signature: List<String> getSecurityGroups(String instanceId)
focal_class.class_method_signature: EC2RaiderImpl.detachSecurityGroups(String instanceId, String... securityGroups)
focal_class.full_signature: @Override public void detachSecurityGroups(String instanceId, String... securityGroups)
focal_class.identifier: detachSecurityGroups
focal_class.modifiers: @Override public
focal_class.parameters: (String instanceId, String... securityGroups)
focal_class.return: void
focal_class.signature: void detachSecurityGroups(String instanceId, String... securityGroups)
focal_class.class_method_signature: EC2RaiderImpl.attachSecurityGroups(String instanceId, String... securityGroups)
focal_class.full_signature: @Override public void attachSecurityGroups(String instanceId, String... securityGroups)
focal_class.identifier: attachSecurityGroups
focal_class.modifiers: @Override public
focal_class.parameters: (String instanceId, String... securityGroups)
focal_class.return: void
focal_class.signature: void attachSecurityGroups(String instanceId, String... securityGroups)
focal_class.class_method_signature: EC2RaiderImpl.getInstanceDetailsById(String instanceId)
focal_class.full_signature: @Override public Instance getInstanceDetailsById(String instanceId)
focal_class.identifier: getInstanceDetailsById
focal_class.modifiers: @Override public
focal_class.parameters: (String instanceId)
focal_class.return: Instance
focal_class.signature: Instance getInstanceDetailsById(String instanceId)
focal_class.class_method_signature: EC2RaiderImpl.getInstanceStatus(String name)
focal_class.full_signature: @Override public EC2Status getInstanceStatus(String name)
focal_class.identifier: getInstanceStatus
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: EC2Status
focal_class.signature: EC2Status getInstanceStatus(String name)
focal_class.class_method_signature: EC2RaiderImpl.getEC2InstanceState(String name)
focal_class.full_signature: @Override public Map getEC2InstanceState(String name)
focal_class.identifier: getEC2InstanceState
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: Map
focal_class.signature: Map getEC2InstanceState(String name)
focal_class.class_method_signature: EC2RaiderImpl.getInstancesIpsForAZ(String tag, String availabilityZoneName)
focal_class.full_signature: @Deprecated public List getInstancesIpsForAZ(String tag, String availabilityZoneName)
focal_class.identifier: getInstancesIpsForAZ
focal_class.modifiers: @Deprecated public
focal_class.parameters: (String tag, String availabilityZoneName)
focal_class.return: List
focal_class.signature: List getInstancesIpsForAZ(String tag, String availabilityZoneName)
focal_class.class_method_signature: EC2RaiderImpl.getInstancesIdsForOneTag(String tagName)
focal_class.full_signature: @Deprecated public List<EC2InstanceTO> getInstancesIdsForOneTag(String tagName)
focal_class.identifier: getInstancesIdsForOneTag
focal_class.modifiers: @Deprecated public
focal_class.parameters: (String tagName)
focal_class.return: List<EC2InstanceTO>
focal_class.signature: List<EC2InstanceTO> getInstancesIdsForOneTag(String tagName)
focal_class.class_method_signature: EC2RaiderImpl.terminateEc2InstancesByTags(String... tagName)
focal_class.full_signature: @Deprecated public void terminateEc2InstancesByTags(String... tagName)
focal_class.identifier: terminateEc2InstancesByTags
focal_class.modifiers: @Deprecated public
focal_class.parameters: (String... tagName)
focal_class.return: void
focal_class.signature: void terminateEc2InstancesByTags(String... tagName)
focal_class.class_method_signature: EC2RaiderImpl.terminateEc2InstancesByTags(String tagName, int numberOfInstances)
focal_class.full_signature: @Deprecated public void terminateEc2InstancesByTags(String tagName, int numberOfInstances)
focal_class.identifier: terminateEc2InstancesByTags
focal_class.modifiers: @Deprecated public
focal_class.parameters: (String tagName, int numberOfInstances)
focal_class.return: void
focal_class.signature: void terminateEc2InstancesByTags(String tagName, int numberOfInstances)
focal_class.class_method_signature: EC2RaiderImpl.getInstancesForAZ(String tag, String availabilityZoneName)
focal_class.full_signature: @Deprecated public List<EC2InstanceTO> getInstancesForAZ(String tag, String availabilityZoneName)
focal_class.identifier: getInstancesForAZ
focal_class.modifiers: @Deprecated public
focal_class.parameters: (String tag, String availabilityZoneName)
focal_class.return: List<EC2InstanceTO>
focal_class.signature: List<EC2InstanceTO> getInstancesForAZ(String tag, String availabilityZoneName)
focal_class.class_method_signature: EC2RaiderImpl.getEC2StatusByTag(String tag)
focal_class.full_signature: @Deprecated public EC2InstanceTO getEC2StatusByTag(String tag)
focal_class.identifier: getEC2StatusByTag
focal_class.modifiers: @Deprecated public
focal_class.parameters: (String tag)
focal_class.return: EC2InstanceTO
focal_class.signature: EC2InstanceTO getEC2StatusByTag(String tag)
focal_method.body: @Override
      public void terminateEc2InstancesById(String... instanceIds) {
  
          if (instanceIds.length <= 0 || instanceIds == null) {
              throw new InvalidInputDataException("Invalid list of instanceIds");
          }
          TerminateInstancesRequest request1 = new TerminateInstancesRequest().withInstanceIds(instanceIds);
          TerminateInstancesResult response = ec2Delegator.getEc2().terminateInstances(request1);
      }
focal_method.class_method_signature: EC2RaiderImpl.terminateEc2InstancesById(String... instanceIds)
focal_method.full_signature: @Override public void terminateEc2InstancesById(String... instanceIds)
focal_method.identifier: terminateEc2InstancesById
focal_method.invocations: withInstanceIds terminateInstances getEc2
focal_method.modifiers: @Override public
focal_method.parameters: (String... instanceIds)
focal_method.return: void
focal_method.signature: void terminateEc2InstancesById(String... instanceIds)