test_class.file: dockerfile-image-update/src/test/java/com/salesforce/dockerfileimageupdate/model/FromInstructionTest.java
test_class.identifier: FromInstructionTest
test_case.body: @Test(dataProvider = "isFromInstructionWithThisImageAndOlderTagData")
      public void isFromInstructionWithThisImageAndOlderTag(String line, String imageName, String imageTag, boolean expectedResult) {
          assertEquals(FromInstruction.isFromInstructionWithThisImageAndOlderTag(line, imageName, imageTag), expectedResult);
      }
test_case.class_method_signature: FromInstructionTest.isFromInstructionWithThisImageAndOlderTag(String line, String imageName, String imageTag, boolean expectedResult)
test_case.full_signature: @Test(dataProvider = "isFromInstructionWithThisImageAndOlderTagData") public void isFromInstructionWithThisImageAndOlderTag(String line, String imageName, String imageTag, boolean expectedResult)
test_case.identifier: isFromInstructionWithThisImageAndOlderTag
test_case.invocations: assertEquals isFromInstructionWithThisImageAndOlderTag
test_case.modifiers: @Test(dataProvider = "isFromInstructionWithThisImageAndOlderTagData") public
test_case.parameters: (String line, String imageName, String imageTag, boolean expectedResult)
test_case.return: void
test_case.signature: void isFromInstructionWithThisImageAndOlderTag(String line, String imageName, String imageTag, boolean expectedResult)
focal_class.declarator: NAME = "FROM"
focal_class.modifier: private static final
focal_class.original_string: private static final String NAME = "FROM";
focal_class.type: String
focal_class.var_name: NAME
focal_class.declarator: INVALID_INSTRUCTION_LINE = "You have not provided a valid FROM instruction line."
focal_class.modifier: private static final
focal_class.original_string: private static final String INVALID_INSTRUCTION_LINE = "You have not provided a valid FROM instruction line.";
focal_class.type: String
focal_class.var_name: INVALID_INSTRUCTION_LINE
focal_class.declarator: baseImageName
focal_class.modifier: private final
focal_class.original_string: private final String baseImageName;
focal_class.type: String
focal_class.var_name: baseImageName
focal_class.declarator: tag
focal_class.modifier: private final
focal_class.original_string: private final String tag;
focal_class.type: String
focal_class.var_name: tag
focal_class.declarator: additionalParts
focal_class.modifier: private final
focal_class.original_string: private final List<String> additionalParts;
focal_class.type: List<String>
focal_class.var_name: additionalParts
focal_class.declarator: comments
focal_class.modifier: private final
focal_class.original_string: private final String comments;
focal_class.type: String
focal_class.var_name: comments
focal_class.file: dockerfile-image-update/src/main/java/com/salesforce/dockerfileimageupdate/model/FromInstruction.java
focal_class.identifier: FromInstruction
focal_class.class_method_signature: FromInstruction.FromInstruction(String fromInstructionLine)
focal_class.full_signature: public  FromInstruction(String fromInstructionLine)
focal_class.identifier: FromInstruction
focal_class.modifiers: public
focal_class.parameters: (String fromInstructionLine)
focal_class.signature:  FromInstruction(String fromInstructionLine)
focal_class.class_method_signature: FromInstruction.FromInstruction(String baseImageName, String tag, List<String> additionalParts, String comments)
focal_class.full_signature: private  FromInstruction(String baseImageName, String tag, List<String> additionalParts, String comments)
focal_class.identifier: FromInstruction
focal_class.modifiers: private
focal_class.parameters: (String baseImageName, String tag, List<String> additionalParts, String comments)
focal_class.signature:  FromInstruction(String baseImageName, String tag, List<String> additionalParts, String comments)
focal_class.class_method_signature: FromInstruction.isFromInstructionWithThisImageAndOlderTag(String lineInFile, String imageName, String imageTag)
focal_class.full_signature: public static boolean isFromInstructionWithThisImageAndOlderTag(String lineInFile, String imageName, String imageTag)
focal_class.identifier: isFromInstructionWithThisImageAndOlderTag
focal_class.modifiers: public static
focal_class.parameters: (String lineInFile, String imageName, String imageTag)
focal_class.return: boolean
focal_class.signature: boolean isFromInstructionWithThisImageAndOlderTag(String lineInFile, String imageName, String imageTag)
focal_class.class_method_signature: FromInstruction.getFromInstructionWithNewTag(String newTag)
focal_class.full_signature: public FromInstruction getFromInstructionWithNewTag(String newTag)
focal_class.identifier: getFromInstructionWithNewTag
focal_class.modifiers: public
focal_class.parameters: (String newTag)
focal_class.return: FromInstruction
focal_class.signature: FromInstruction getFromInstructionWithNewTag(String newTag)
focal_class.class_method_signature: FromInstruction.isFromInstruction(String dockerFileLine)
focal_class.full_signature: public static boolean isFromInstruction(String dockerFileLine)
focal_class.identifier: isFromInstruction
focal_class.modifiers: public static
focal_class.parameters: (String dockerFileLine)
focal_class.return: boolean
focal_class.signature: boolean isFromInstruction(String dockerFileLine)
focal_class.class_method_signature: FromInstruction.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: FromInstruction.getBaseImageName()
focal_class.full_signature: public String getBaseImageName()
focal_class.identifier: getBaseImageName
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getBaseImageName()
focal_class.class_method_signature: FromInstruction.hasBaseImage(String imageToFind)
focal_class.full_signature: public boolean hasBaseImage(String imageToFind)
focal_class.identifier: hasBaseImage
focal_class.modifiers: public
focal_class.parameters: (String imageToFind)
focal_class.return: boolean
focal_class.signature: boolean hasBaseImage(String imageToFind)
focal_class.class_method_signature: FromInstruction.hasTag()
focal_class.full_signature: public boolean hasTag()
focal_class.identifier: hasTag
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean hasTag()
focal_class.class_method_signature: FromInstruction.hasADifferentTag(String expectedTag)
focal_class.full_signature: public boolean hasADifferentTag(String expectedTag)
focal_class.identifier: hasADifferentTag
focal_class.modifiers: public
focal_class.parameters: (String expectedTag)
focal_class.return: boolean
focal_class.signature: boolean hasADifferentTag(String expectedTag)
focal_class.class_method_signature: FromInstruction.getTag()
focal_class.full_signature: public String getTag()
focal_class.identifier: getTag
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getTag()
focal_class.class_method_signature: FromInstruction.getAdditionalParts()
focal_class.full_signature: public List<String> getAdditionalParts()
focal_class.identifier: getAdditionalParts
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<String>
focal_class.signature: List<String> getAdditionalParts()
focal_class.class_method_signature: FromInstruction.hasComments()
focal_class.full_signature: public boolean hasComments()
focal_class.identifier: hasComments
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean hasComments()
focal_class.class_method_signature: FromInstruction.getComments()
focal_class.full_signature: public String getComments()
focal_class.identifier: getComments
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getComments()
focal_method.body: public static boolean isFromInstructionWithThisImageAndOlderTag(String lineInFile, String imageName, String imageTag) {
          if (FromInstruction.isFromInstruction(lineInFile)) {
              FromInstruction fromInstruction = new FromInstruction(lineInFile);
              return fromInstruction.hasBaseImage(imageName) && fromInstruction.hasADifferentTag(imageTag);
          }
          return false;
      }
focal_method.class_method_signature: FromInstruction.isFromInstructionWithThisImageAndOlderTag(String lineInFile, String imageName, String imageTag)
focal_method.full_signature: public static boolean isFromInstructionWithThisImageAndOlderTag(String lineInFile, String imageName, String imageTag)
focal_method.identifier: isFromInstructionWithThisImageAndOlderTag
focal_method.invocations: isFromInstruction hasBaseImage hasADifferentTag
focal_method.modifiers: public static
focal_method.parameters: (String lineInFile, String imageName, String imageTag)
focal_method.return: boolean
focal_method.signature: boolean isFromInstructionWithThisImageAndOlderTag(String lineInFile, String imageName, String imageTag)