/** * Returns true if there are any requirements for the given profile ID and it has at least 1 minimum instances defined */ public boolean hasMinimumInstances(String profileId) { ProfileRequirements profileRequirement = findProfileRequirements(profileId); if (profileRequirement != null) { return profileRequirement.hasMinimumInstances(); } return false; }
/** * Returns true if there are any requirements for the given profile ID and it has at least 1 minimum instances defined */ public boolean hasMinimumInstances(String profileId) { ProfileRequirements profileRequirement = findProfileRequirements(profileId); if (profileRequirement != null) { return profileRequirement.hasMinimumInstances(); } return false; }