public class VCSNodeUpdate extends VCSEBMessage
Modifier and Type | Field and Description |
---|---|
static java.lang.Object |
RELOADED |
static java.lang.Object |
RENAMED |
static java.lang.Object |
SAVED |
Constructor and Description |
---|
VCSNodeUpdate(Node node,
java.lang.Object what)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Node |
getNode()
Gets the node for the node update message.
|
java.net.URL |
getOldURL()
Gets the old URL of the node, for RENAMED updates.
|
java.lang.Object |
getWhat()
Gets what caused this node update.
|
void |
setOldURL(java.net.URL oldUrl)
Sets the old URL of the node, for RENAMED updates.
|
getSource
public static final java.lang.Object RELOADED
public static final java.lang.Object RENAMED
public static final java.lang.Object SAVED
public VCSNodeUpdate(Node node, java.lang.Object what)
node
- the node.what
- what happened.public Node getNode()
public java.net.URL getOldURL()
public java.lang.Object getWhat()
public void setOldURL(java.net.URL oldUrl)
oldUrl
- the old URL.