Modifier and Type | Field and Description |
---|---|
static PackagerType |
DIRECTORY
Represents a directory packager, ie a packager that creates a package in a given directory.
|
Constructor and Description |
---|
PackagerType(String type) |
public static final PackagerType DIRECTORY
public PackagerType(String type)
type
- the internal representation of the packager type. For example: "directory".public static PackagerType toType(String typeAsString)
PackagerType
object.typeAsString
- the string to transformPackagerType
objectpublic boolean equals(Object object)
equals
in class Object
Object.equals(Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public String getType()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2004-2013 Codehaus. All Rights Reserved.