public class ExitCodeEvent
extends org.springframework.context.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.
|
getSource, toString
public ExitCodeEvent(Object source, int exitCode)
ExitCodeEvent
instance.source
- the source of the eventexitCode
- the exit codeCopyright © 2019 Pivotal Software, Inc.. All rights reserved.