Package org.apache.nifi.nar
Class NarProperties
java.lang.Object
org.apache.nifi.nar.NarProperties
Properties about a NAR that are persisted by the
NarPersistenceProvider
.-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NarProperties.Builder
builder()
getNarId()
static NarProperties
parse
(InputStream inputStream) Reads an InputStream containing the Properties representation of the NAR Properties and returns the NarProperties instance.
-
Field Details
-
sourceType
-
sourceId
-
narGroup
-
narId
-
narVersion
-
narDependencyGroup
-
narDependencyId
-
narDependencyVersion
-
installed
-
-
Constructor Details
-
NarProperties
-
-
Method Details
-
getSourceType
-
getSourceId
-
getNarGroup
-
getNarId
-
getNarVersion
-
getNarDependencyGroup
-
getNarDependencyId
-
getNarDependencyVersion
-
getInstalled
-
getCoordinate
-
getDependencyCoordinate
-
toProperties
- Returns:
- a Properties instance containing the key/value pairs of the NarProperties
-
parse
Reads an InputStream containing the Properties representation of the NAR Properties and returns the NarProperties instance.- Parameters:
inputStream
- the input stream- Returns:
- the NAR properties instance
- Throws:
IOException
- if unable to read the input stream
-
builder
-