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:
the code value
exitOptions
public ExitOptions exitOptions()
Get the exitOptions value.
Returns:
the exitOptions value
withCode
public ExitCodeMapping withCode(int code)
Set the code value.
Parameters:
code
- the code value to set
Returns:
the ExitCodeMapping object itself.
withExitOptions
public ExitCodeMapping withExitOptions(ExitOptions exitOptions)
Set the exitOptions value.
Parameters:
exitOptions
- the exitOptions value to set
Returns:
the ExitCodeMapping object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java