Class LocalHostPortConflictChecker
java.lang.Object
com.cloudforge.core.local.LocalHostPortConflictChecker
Blocks local emulator deploys when the required
localhost port is already in use.-
Method Summary
Modifier and TypeMethodDescriptionstatic voidvalidate(DeploymentTarget target, URI endpoint, String deployingLocalStackName, ApplicationSpec spec, com.fasterxml.jackson.databind.JsonNode template, List<PreflightViolation> violations) static voidvalidateAgainstOccupants(DeploymentTarget target, String deployingLocalStackName, ApplicationSpec spec, com.fasterxml.jackson.databind.JsonNode template, List<LocalHostPortOccupant> occupants, List<PreflightViolation> violations)
-
Method Details
-
validate
public static void validate(DeploymentTarget target, URI endpoint, String deployingLocalStackName, ApplicationSpec spec, com.fasterxml.jackson.databind.JsonNode template, List<PreflightViolation> violations) throws IOException - Throws:
IOException
-
validateAgainstOccupants
public static void validateAgainstOccupants(DeploymentTarget target, String deployingLocalStackName, ApplicationSpec spec, com.fasterxml.jackson.databind.JsonNode template, List<LocalHostPortOccupant> occupants, List<PreflightViolation> violations)
-