|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.maven.issues.bugzilla.Sections
public class Sections
Provides information for sections within a version.
Nested Class Summary | |
---|---|
static class |
Sections.Section Container for the tasks belonging to one section. |
Constructor Summary | |
---|---|
Sections(List<String> sectionNames) Default constructor. |
Method Summary | |
---|---|
boolean |
addToSection(String sectionName, org.eclipse.mylyn.tasks.core.data.TaskData taskData) Adds the given taskData to the given section if the sectionName is contained in this instance. |
boolean |
containsKey(String sectionName) Checks if the given sectionName is contained in this section instance. |
Iterator<Sections.Section> |
iterator() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Sections(List<String> sectionNames)
sectionNames
- the list of sections to be put to the sections instance. Sections not mentioned here will be ignored.
Method Detail |
---|
public Iterator<Sections.Section> iterator()
iterator
in interface
Iterable<Sections.Section>
Iterable.iterator()
public boolean addToSection(String sectionName, org.eclipse.mylyn.tasks.core.data.TaskData taskData)
taskData
to the given section if the
sectionName
is contained in this instance.
sectionName
- the name of the section to add to.
taskData
- the information to add to the section.
true
if the element has been added to the requested section,
false
if not because the section requested is not managed by this instance.
public boolean containsKey(String sectionName)
sectionName
is contained in this section instance.
sectionName
- the name of the section to check if contained.
true
if the section is part of this instance,
false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |