com.atlassian.plugin.loaders.classloading
Class DeploymentUnit

java.lang.Object
  extended by com.atlassian.plugin.loaders.classloading.DeploymentUnit
All Implemented Interfaces:
java.lang.Comparable<DeploymentUnit>

public class DeploymentUnit
extends java.lang.Object
implements java.lang.Comparable<DeploymentUnit>

A file that is to, or has been, deployed as a plugin. Differs to the PluginArtifact, which identifies an artifact to be deployed but may not be a physical file.


Constructor Summary
DeploymentUnit(java.io.File path)
           
 
Method Summary
 int compareTo(DeploymentUnit target)
           
 boolean equals(DeploymentUnit deploymentUnit)
           
 boolean equals(java.lang.Object deploymentUnit)
           
 java.io.File getPath()
           
 int hashCode()
           
 long lastModified()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeploymentUnit

public DeploymentUnit(java.io.File path)
Method Detail

lastModified

public long lastModified()

getPath

public java.io.File getPath()

compareTo

public int compareTo(DeploymentUnit target)
Specified by:
compareTo in interface java.lang.Comparable<DeploymentUnit>

equals

public boolean equals(java.lang.Object deploymentUnit)
Overrides:
equals in class java.lang.Object

equals

public boolean equals(DeploymentUnit deploymentUnit)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.