com.atlassian.plugin.loaders.classloading
Class DeploymentUnit
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
DeploymentUnit
public DeploymentUnit(java.io.File path)
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.