com.krux.hyperion.objects

ShellCommandPrecondition

Related Doc: package objects

case class ShellCommandPrecondition(id: String, command: String, scriptArgument: Seq[String] = Seq(), scriptUri: Option[String] = None, stdout: Option[String] = None, stderr: Option[String] = None, preconditionTimeout: Option[String] = None, role: Option[String] = None)(implicit hc: HyperionContext) extends Precondition with Product with Serializable

A Unix/Linux shell command that can be run as a precondition.

command

The command to run. This value and any associated parameters must function in the environment from which you are running the Task Runner.

scriptArgument

A list of arguments to pass to the shell script.

scriptUri

An Amazon S3 URI path for a file to download and run as a shell command. Only one scriptUri or command field should be present. scriptUri cannot use parameters, use command instead.

stdout

The Amazon S3 path that receives redirected output from the command. If you use the runsOn field, this must be an Amazon S3 path because of the transitory nature of the resource running your activity. However if you specify the workerGroup field, a local file path is permitted.

stderr

The Amazon S3 path that receives redirected system error messages from the command. If you use the runsOn field, this must be an Amazon S3 path because of the transitory nature of the resource running your activity. However if you specify the workerGroup field, a local file path is permitted.

Source
ShellCommandPrecondition.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, Precondition, PipelineObject, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ShellCommandPrecondition
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Precondition
  7. PipelineObject
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ShellCommandPrecondition(id: String, command: String, scriptArgument: Seq[String] = Seq(), scriptUri: Option[String] = None, stdout: Option[String] = None, stderr: Option[String] = None, preconditionTimeout: Option[String] = None, role: Option[String] = None)(implicit hc: HyperionContext)

    command

    The command to run. This value and any associated parameters must function in the environment from which you are running the Task Runner.

    scriptArgument

    A list of arguments to pass to the shell script.

    scriptUri

    An Amazon S3 URI path for a file to download and run as a shell command. Only one scriptUri or command field should be present. scriptUri cannot use parameters, use command instead.

    stdout

    The Amazon S3 path that receives redirected output from the command. If you use the runsOn field, this must be an Amazon S3 path because of the transitory nature of the resource running your activity. However if you specify the workerGroup field, a local file path is permitted.

    stderr

    The Amazon S3 path that receives redirected system error messages from the command. If you use the runsOn field, this must be an Amazon S3 path because of the transitory nature of the resource running your activity. However if you specify the workerGroup field, a local file path is permitted.

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val command: String

    The command to run.

    The command to run. This value and any associated parameters must function in the environment from which you are running the Task Runner.

  7. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  8. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  10. implicit val hc: HyperionContext

  11. val id: String

  12. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  16. def objects: Iterable[PipelineObject]

    Definition Classes
    PipelineObject
  17. val preconditionTimeout: Option[String]

    The precondition will be retried until the retryTimeout with a gap of retryDelay between attempts.

    The precondition will be retried until the retryTimeout with a gap of retryDelay between attempts. Time period; for example, "1 hour".

    Definition Classes
    ShellCommandPreconditionPrecondition
  18. val role: Option[String]

    The IAM role to use for this precondition.

    The IAM role to use for this precondition.

    Definition Classes
    ShellCommandPreconditionPrecondition
  19. val scriptArgument: Seq[String]

    A list of arguments to pass to the shell script.

  20. val scriptUri: Option[String]

    An Amazon S3 URI path for a file to download and run as a shell command.

    An Amazon S3 URI path for a file to download and run as a shell command. Only one scriptUri or command field should be present. scriptUri cannot use parameters, use command instead.

  21. def serialize: AdpShellCommandPrecondition

  22. val stderr: Option[String]

    The Amazon S3 path that receives redirected system error messages from the command.

    The Amazon S3 path that receives redirected system error messages from the command. If you use the runsOn field, this must be an Amazon S3 path because of the transitory nature of the resource running your activity. However if you specify the workerGroup field, a local file path is permitted.

  23. val stdout: Option[String]

    The Amazon S3 path that receives redirected output from the command.

    The Amazon S3 path that receives redirected output from the command. If you use the runsOn field, this must be an Amazon S3 path because of the transitory nature of the resource running your activity. However if you specify the workerGroup field, a local file path is permitted.

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Precondition

Inherited from PipelineObject

Inherited from AnyRef

Inherited from Any

Ungrouped