hudson.plugins.tasks.util.model.JavaPackage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tasks Show documentation
Show all versions of tasks Show documentation
This plug-in scans the workspace files for open tasks
and generates a trend report.
package hudson.plugins.tasks.util.model;
/**
* A serializable Java Bean class representing a Java package.
*
* @author Ulli Hafner
*/
public class JavaPackage extends AnnotationContainer {
/** Unique identifier of this class. */
private static final long serialVersionUID = 4034932648975191723L;
/** Name of this package. */
private String name; // NOPMD: backward compatibility
/**
* Creates a new instance of JavaPackage
.
*
* @param packageName
* the name of this package
*/
public JavaPackage(final String packageName) {
super(packageName, Hierarchy.PACKAGE);
}
/**
* Rebuilds the priorities mapping.
*
* @return the created object
*/
private Object readResolve() {
setHierarchy(Hierarchy.PACKAGE);
rebuildMappings();
if (name != null) {
setName(name);
}
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy