public enum Packaging extends Enum<Packaging>
Modifier and Type | Method and Description |
---|---|
String |
getText()
Text representation of the packaging.
|
SearchExpression |
toSearchExpression() |
static Packaging |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Packaging[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Packaging ALL
public static final Packaging PLUGIN
public static final Packaging POM
public static Packaging[] values()
for (Packaging c : Packaging.values()) System.out.println(c);
public static Packaging valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getText()
public SearchExpression toSearchExpression()
Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.