mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user