Package org.apache.maven.shared.archiver
Class ManifestSection
java.lang.Object
org.apache.maven.shared.archiver.ManifestSection
ManifestSection class.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addManifestEntries
(Map<String, String> map) addManifestEntries.void
addManifestEntry
(String key, String value) addManifestEntry.Getter for the fieldmanifestEntries
.getName()
Getter for the fieldname
.boolean
isManifestEntriesEmpty.void
Setter for the fieldname
.
-
Constructor Details
-
ManifestSection
public ManifestSection()
-
-
Method Details
-
addManifestEntry
addManifestEntry.
- Parameters:
key
- The key of the manifest entry.value
- The appropriate value.
-
getManifestEntries
Getter for the field
manifestEntries
.- Returns:
- The entries.
-
getName
Getter for the field
name
.- Returns:
- The name.
-
setName
Setter for the field
name
.- Parameters:
name
- the name.
-
addManifestEntries
addManifestEntries.
- Parameters:
map
- The map to add.
-
isManifestEntriesEmpty
public boolean isManifestEntriesEmpty()isManifestEntriesEmpty.
- Returns:
- true if empty false otherwise.
-