ALFCOM-2974 Corrected AVM version for reading properties from AVM Node Service.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14737 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mark Rogers
2009-06-16 13:20:40 +00:00
parent 4ed7957b63
commit 0e2e131279
2 changed files with 34 additions and 19 deletions

View File

@@ -32,6 +32,7 @@ class DeploymentWork
private DeploymentEvent event;
private AVMNodeDescriptor src;
private String ticket;
private int version;
public DeploymentWork(DeploymentEvent event, String ticket)
{
@@ -39,12 +40,12 @@ class DeploymentWork
this.ticket = ticket;
}
public DeploymentWork(DeploymentEvent event, String ticket, AVMNodeDescriptor src)
public DeploymentWork(DeploymentEvent event, String ticket, AVMNodeDescriptor src, int version)
{
this.event = event;
this.ticket = ticket;
this.setSrc(src);
this.version = version;
}
public DeploymentEvent getEvent()
@@ -63,6 +64,11 @@ class DeploymentWork
public AVMNodeDescriptor getSrc() {
return src;
}
}
public int getVersion()
{
return version;
}
}