class FromInstruction {

    public boolean hasADifferentTag(String expectedTag) {
        if (tag == null && expectedTag == null) {
            return false;
        }
        if (tag == null || expectedTag == null) {
            return true;
        }
        return !tag.trim().equals(expectedTag.trim());
    }

    public  FromInstruction(String fromInstructionLine);
    private  FromInstruction(String baseImageName, String tag, List<String> additionalParts, String comments);

}