Package

agora.exec

model

Permalink

package model

Visibility
  1. Public
  2. All

Type Members

  1. case class ExecuteProcess(command: List[String], workspaceId: WorkspaceId, stdOutFileName: String = "std.out", stdErrFileName: String = "std.err", dependencyTimeoutInMillis: Long = 0, fileDependencies: Set[String] = Set.empty, env: Map[String, String] = Map.empty, successExitCodes: Set[Int] = Set(0)) extends RunProcess with Product with Serializable

    Permalink

    An implementation of RunProcess which writes its results to a workspace (e.g.

    An implementation of RunProcess which writes its results to a workspace (e.g. session) directory

    Subsequent jobs run in the same workspace will have access to the std out/std err produced by this job

  2. case class OperationResult(messages: List[String]) extends Product with Serializable

    Permalink

    Represents a container for messages produced while executing some operation

  3. case class ProcessError(process: RunProcess, exitCode: Option[Int], matchDetails: Option[MatchDetails], stdErr: List[String]) extends Product with Serializable

    Permalink
  4. case class ProcessException(error: ProcessError) extends Exception with Product with Serializable

    Permalink
  5. case class ResultSavingRunProcessResponse(exitCode: Int, workspaceId: WorkspaceId, fileName: String, matchDetails: Option[MatchDetails]) extends Product with Serializable

    Permalink
  6. sealed trait RunProcess extends AnyRef

    Permalink

    Represents a command to execute a process.

    Represents a command to execute a process. There are two sealed implementations: StreamingProcess and ExecuteProcess.

  7. case class StreamingProcess(command: List[String], env: Map[String, String] = Map.empty, streamingSettings: StreamingSettings = StreamingSettings()) extends RunProcess with Product with Serializable

    Permalink

    A job indended to produce a lot of output, and such streams the output when run.

    A job indended to produce a lot of output, and such streams the output when run.

    command

    the command string to execute

    env

    the system environment

  8. case class StreamingSettings(successExitCodes: Set[Int] = Set(0), frameLength: Option[Int] = None, dependencies: Option[UploadDependencies] = None, errorMarker: String = RunProcess.DefaultErrorMarker) extends Product with Serializable

    Permalink

    successExitCodes

    the set of exit codes which are attribute to success

    frameLength

    the frame length to use (if set) for delimiting output lines

    dependencies

    if specified, the any file dependencies this request has

    errorMarker

    the marker which, if it appears in the standard output stream, will be followed by ProcessError in json form

  9. case class Upload(name: String, source: Source[ByteString, Any], size: Option[Long] = None) extends Product with Serializable

    Permalink

Value Members

  1. object OperationResult extends Serializable

    Permalink
  2. object ProcessError extends Serializable

    Permalink
  3. object ProcessException extends StrictLogging with Serializable

    Permalink
  4. object RunProcess

    Permalink
  5. object Upload extends Serializable

    Permalink

Ungrouped