com.atlassian.plugin.loaders.classloading
Class DeploymentUnit

java.lang.Object
  extended by 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.


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

Constructor Detail

DeploymentUnit

public DeploymentUnit(File path)
Method Detail

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.