Package org.savantbuild.domain
Class Publications
java.lang.Object
org.savantbuild.domain.Publications
Models the publication set in the project build file.
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
publicationGroups
-
-
Constructor Details
-
Publications
public Publications()
-
-
Method Details
-
add
Adds the given Publication to the given group.- Parameters:
group- The group.publication- The Publication.- Returns:
- This Publications object.
-
allPublications
- Returns:
- All of the publications flattened.
-
equals
-
toString
-
group
Null safe getter for a single group. This returns the list of publications or an empty list if the publication group is empty.- Parameters:
group- The group.- Returns:
- The list of publications (never null).
-
hashCode
public int hashCode() -
size
public int size()- Returns:
- The total number of Publications.
-