com.atlassian.plugin.loaders.classloading
Class DeploymentUnit
java.lang.Object
com.atlassian.plugin.loaders.classloading.DeploymentUnit
- All Implemented Interfaces:
- Comparable<DeploymentUnit>
public final class DeploymentUnit
- extends Object
- implements 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.
DeploymentUnit
public DeploymentUnit(File path)
lastModified
public long lastModified()
getPath
public File getPath()
compareTo
public int compareTo(DeploymentUnit target)
- Specified by:
compareTo in interface Comparable<DeploymentUnit>
equals
public boolean equals(Object deploymentUnit)
- Overrides:
equals in class Object
equals
public boolean equals(DeploymentUnit deploymentUnit)
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2015 Atlassian. All rights reserved.