public abstract class VersionCreatedEvent extends ModuleEvent
ModuleEvent representing the creation of a new Version.
Although this is an abstract class and ScmPlugin's are expected to post
subclasses, NodeEventListener can be registered for this base
ModuleEvent class.
| Constructor and Description |
|---|
VersionCreatedEvent(Module module,
Version version)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Version |
getVersion() |
String |
toString() |
getModulepublic VersionCreatedEvent(Module module, Version version)
module - Module on which this ModuleEvent is raised.version - Version that was created.public Version getVersion()
public String toString()
toString in class ModuleEventModuleEvent instance, in logs for
example.Copyright © 2015–2017 AZYVA INC.. All rights reserved.