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.
Constructor Summary
Constructor | Description | |
---|---|---|
ExitCodeMapping() |
Method Summary
Modifier and Type | Method and Description |
---|---|
int |
code()
Get the code value. |
Exit |
exitOptions()
Get the exit |
Exit |
withCode(int code)
Set the code value. |
Exit |
withExitOptions(ExitOptions exitOptions)
Set the exit |
Methods inherited from java.lang.Object
Constructor Details
ExitCodeMapping
public ExitCodeMapping()
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