Examples of withTag()


Examples of com.elastisys.scale.commons.net.smtp.alerter.Alert.withTag()

      LivenessStateChange livenessChange = new LivenessStateChange(
          machine, previousState, newState);
      LOG.info("liveness state change: " + livenessChange);
      Alert alert = livenessChange.toAlert();
      if (livenessTestResult.getError().isPresent()) {
        alert = alert.withTag("commandError", livenessTestResult
            .getError().get().getMessage());
      }
      if (livenessTestResult.getCommandResult().isPresent()) {
        SshCommandResult command = livenessTestResult
            .getCommandResult().get();
View Full Code Here

Examples of com.elastisys.scale.commons.net.smtp.alerter.Alert.withTag()

            .getError().get().getMessage());
      }
      if (livenessTestResult.getCommandResult().isPresent()) {
        SshCommandResult command = livenessTestResult
            .getCommandResult().get();
        alert = alert.withTag("commandExitCode",
            String.valueOf(command.getExitStatus()));
        alert = alert.withTag("commandStdout", command.getStdout());
        alert = alert.withTag("commandStderr", command.getStderr());
      }
      this.eventBus.post(alert);
View Full Code Here

Examples of com.elastisys.scale.commons.net.smtp.alerter.Alert.withTag()

      if (livenessTestResult.getCommandResult().isPresent()) {
        SshCommandResult command = livenessTestResult
            .getCommandResult().get();
        alert = alert.withTag("commandExitCode",
            String.valueOf(command.getExitStatus()));
        alert = alert.withTag("commandStdout", command.getStdout());
        alert = alert.withTag("commandStderr", command.getStderr());
      }
      this.eventBus.post(alert);
    }
  }
View Full Code Here

Examples of com.elastisys.scale.commons.net.smtp.alerter.Alert.withTag()

        SshCommandResult command = livenessTestResult
            .getCommandResult().get();
        alert = alert.withTag("commandExitCode",
            String.valueOf(command.getExitStatus()));
        alert = alert.withTag("commandStdout", command.getStdout());
        alert = alert.withTag("commandStderr", command.getStderr());
      }
      this.eventBus.post(alert);
    }
  }
View Full Code Here

Examples of com.github.dockerjava.api.command.BuildImageCmd.withTag()

        }
       
        String tag = DockerHelper.getProperty(DockerConstants.DOCKER_TAG, configuration, message, String.class);

        if (tag != null) {
            buildImageCmd.withTag(tag);
        }
       
        return buildImageCmd;

    }
View Full Code Here

Examples of com.github.dockerjava.api.command.CommitCmd.withTag()

        }
       
        String tag = DockerHelper.getProperty(DockerConstants.DOCKER_TAG, configuration, message, String.class);

        if (tag != null) {
            commitCmd.withTag(tag);
        }
       
        String author = DockerHelper.getProperty(DockerConstants.DOCKER_TAG, configuration, message, String.class);

        if (author != null) {
View Full Code Here

Examples of com.github.dockerjava.api.command.PullImageCmd.withTag()

            pullImageCmd.withRegistry(registry);
        }
       
        String tag = DockerHelper.getProperty(DockerConstants.DOCKER_TAG, configuration, message, String.class);
        if (tag != null) {
            pullImageCmd.withTag(tag);
        }
       
        return pullImageCmd;

    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.