Class ShellOutputDTO

  • All Implemented Interfaces:
    Serializable

    public class ShellOutputDTO
    extends Object
    implements Serializable
    A POJO representing the shell output from running commands in a work unit. The Default validation group is intended for submission from the daemon to the server.
    Author:
    Clement Pang (clement@wavefront.com).
    See Also:
    Serialized Form
    • Field Detail

      • id

        @NotNull
        public UUID id
      • targetId

        @NotNull
        public UUID targetId
      • machineId

        @Null(groups=javax.validation.groups.Default.class)
        public UUID machineId
        Computed by the server.
      • workUnitId

        @NotNull
        public UUID workUnitId
      • sshDaemonId

        @NotNull
        public UUID sshDaemonId
      • output

        @NotNull
        public String output
      • exitCode

        @NotNull
        public Integer exitCode
      • commandStartTime

        @NotNull
        public org.joda.time.Instant commandStartTime
      • commandEndTime

        @NotNull
        public org.joda.time.Instant commandEndTime
      • serverTime

        @Null(groups=javax.validation.groups.Default.class)
        public org.joda.time.Instant serverTime
        Filled-in by the server.
      • customerId

        @Null(groups=javax.validation.groups.Default.class)
        public String customerId
        Filled-in by the server.
    • Constructor Detail

      • ShellOutputDTO

        public ShellOutputDTO()