ExitCodeMapping Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. ExitCodeMapping
- com.
public class ExitCodeMapping
How the Batch service should respond if a task exits with a particular exit code.
Method Summary
Modifier and Type | Method and Description |
---|---|
int |
code()
Get the code value. |
Exit |
exitOptions()
Get the exitOptions value. |
Exit |
withCode(int code)
Set the code value. |
Exit |
withExitOptions(ExitOptions exitOptions)
Set the exitOptions value. |
Method Details
code
public int code()
Get the code value.
Returns:
exitOptions
public ExitOptions exitOptions()
Get the exitOptions value.
Returns:
withCode
public ExitCodeMapping withCode(int code)
Set the code value.
Parameters:
Returns:
withExitOptions
public ExitCodeMapping withExitOptions(ExitOptions exitOptions)
Set the exitOptions value.
Parameters:
Returns: