|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.ci.config.load.LoaderPlan
public final class LoaderPlan
Allows to iterate over configurations.
Constructor Summary | |
---|---|
LoaderPlan(String id, MavenConfig mavenConfig) Default constructor. |
Method Summary | |
---|---|
void |
addConfigurationName(String configurationName) Adds a configuration name to the loader plan. |
boolean |
equals(Object object) Returns true if the given object is semantically equal to the given object, false otherwise. |
String |
getId() Returns the identifier of the loader plan. |
MavenConfig |
getMavenConfig() Returns the information from the Maven project configuration. |
int |
hashCode() Returns the hash code of the object. |
boolean |
isEmpty() Checks if the loader plan contains at least on name. |
Iterator<String> |
iterator() |
String |
toString() |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LoaderPlan(String id, MavenConfig mavenConfig) throws de.smartics.util.lang.BlankArgumentException, de.smartics.util.lang.NullArgumentException
id
- the identifier of the loader plan.
mavenConfig
- the information from the Maven project configuration.
de.smartics.util.lang.BlankArgumentException
- if
id
is blank.
de.smartics.util.lang.NullArgumentException
- if
mavenConfig
is
null
.
Method Detail |
---|
public String getId()
public MavenConfig getMavenConfig()
public void addConfigurationName(String configurationName) throws de.smartics.util.lang.BlankArgumentException
configurationName
- the name to add.
de.smartics.util.lang.BlankArgumentException
- if
configurationName
is blank.
public Iterator<String> iterator()
iterator
in interface
Iterable<String>
Iterable.iterator()
public boolean isEmpty()
false
if the loader plan contains at least one name,
true
if it is empty.
public int hashCode()
hashCode
in class
Object
public boolean equals(Object object)
true
if the given object is semantically equal to the given object,
false
otherwise.
The Maven configuration is not a part of the check.
equals
in class
Object
object
- the instance to compare to.
true
if the given object is semantically equal to the given object,
false
otherwise.
public String toString()
toString
in class
Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |