public class ExitCodeEvent extends ApplicationEvent
ExitCodeGenerator
.source
Constructor and Description |
---|
ExitCodeEvent(Object source,
int exitCode)
Create a new
ExitCodeEvent instance. |
Modifier and Type | Method and Description |
---|---|
int |
getExitCode()
Return the exit code that will be used to exit the JVM.
|
getTimestamp
getSource, toString
public ExitCodeEvent(Object source, int exitCode)
ExitCodeEvent
instance.source
- the source of the eventexitCode
- the exit codeCopyright © 2021 Pivotal Software, Inc.. All rights reserved.