|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<MavenResourceCode> de.smartics.properties.resource.maven.repository.MavenResourceCode
public enum MavenResourceCode
Codes dealing with resource problems accessing with Maven.
Enum Constant Summary | |
---|---|
ARTIFACT_RESOLVING_FAILED The target folder cannot be cleaned. |
|
CANNOT_FIND_SETTINGS The Maven settings file cannot be found. |
|
CANNOT_READ_SETTINGS The Maven settings file cannot be read. |
Method Summary | |
---|---|
String |
getCode() |
String |
getComponentId() |
String |
getDisplayId() |
Integer |
getMajorNumber() |
Integer |
getMinorNumber() |
String |
toString() Returns the string representation of the object. |
static MavenResourceCode |
valueOf(String name) Returns the enum constant of this type with the specified name. |
static MavenResourceCode[] |
values() Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
@MessageParamsDescriptor(value=ArtifactIdMessageBean.class) public static final MavenResourceCode ARTIFACT_RESOLVING_FAILED
@MessageParamsDescriptor(value=FileMessageBean.class) public static final MavenResourceCode CANNOT_FIND_SETTINGS
@MessageParamsDescriptor(value=FileMessageBean.class) public static final MavenResourceCode CANNOT_READ_SETTINGS
Method Detail |
---|
public static MavenResourceCode[] values()
for (MavenResourceCode c : MavenResourceCode.values()) System.out.println(c);
public static MavenResourceCode valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant with the specified name
NullPointerException
- if the argument is null
public String getCode()
getCode
in interface
de.smartics.exceptions.core.Code
public String getComponentId()
getComponentId
in interface
de.smartics.exceptions.core.Code
public String getDisplayId()
getDisplayId
in interface
de.smartics.exceptions.core.Code
public Integer getMajorNumber()
getMajorNumber
in interface
de.smartics.exceptions.code.NumberCode
public Integer getMinorNumber()
getMinorNumber
in interface
de.smartics.exceptions.code.NumberCode
public String toString()
toString
in interface
de.smartics.exceptions.core.Code
toString
in class
Enum<MavenResourceCode>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |