public enum Layout extends Enum<Layout>
Enum Constant and Description |
---|
FLAT
Version-aware flat repository layout.
|
FLAT_VERSIONLESS
Version-unaware flat repository layout.
|
JPP
Version-aware repository JPP layout.
|
JPP_VERSIONLESS
Version-unaware JPP repository layout.
|
MAVEN
Maven repository layout, as used by upstream Maven.
|
Modifier and Type | Method and Description |
---|---|
String |
getArtifactPath(Artifact artifact) |
boolean |
isVersioned() |
String |
toString() |
static Layout |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Layout[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Layout MAVEN
Example: g/r/o/u/p/artifact/ver/artifact-ver.ext
public static final Layout JPP
Example: g/r/o/u/p/artifact-ver.ext
public static final Layout JPP_VERSIONLESS
Example: g/r/o/u/p/artifact.ext
public static final Layout FLAT
Example: g.r.o.u.p-artifact-ver.ext
public static final Layout FLAT_VERSIONLESS
Example: g.r.o.u.p-artifact.ext
public static Layout[] values()
for (Layout c : Layout.values()) System.out.println(c);
public static Layout 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 boolean isVersioned()
Copyright © 2012-2013 Red Hat, Inc.. All Rights Reserved.