|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - The type used in the implementation methodspublic interface POMBuilder<T>
ProcessBuilder type.
| Method Summary | |
|---|---|
T |
fromPOM(Process process)
Converts a POM instance into another model type. |
java.lang.Class<T> |
getModelType()
Gets the class of the supported model. |
java.net.URI |
getURI()
Gets an URI that allows builder lookup by "id". |
java.util.Collection<Process> |
importAllFrom(java.io.InputStream is)
Imports all processes contained in the given source. |
java.util.Collection<Process> |
importAllFrom(java.net.URI uri)
Imports all processes contained in the given source. |
Process |
importFrom(java.io.File src)
Imports a POM from the given source. |
Process |
importFrom(java.io.InputStream is)
Imports a POM from an input stream. |
Process |
importFrom(java.net.URI src)
Imports a POM from the given source. |
Process |
importFrom(java.net.URL src)
Imports a POM from the given source. |
Process |
toPOM(T model)
Converts a model into a POM instance. |
| Method Detail |
|---|
java.lang.Class<T> getModelType()
This method is used by the discovery mechanism to map model types to builder implementations.
java.net.URI getURI()
T fromPOM(Process process)
throws BuildException
The model type is implementation dependent.
process - The source POM instance
BuildException - If an error occurs
Process toPOM(T model)
throws BuildException
The model type is implementation dependent.
model - The source model
BuildException - If an error occurs
Process importFrom(java.io.File src)
throws java.io.IOException,
BuildException
src - The source to import
java.io.IOException - If an error occurs while reading the file
BuildException - If an error occurs while translating the model
Process importFrom(java.net.URL src)
throws java.io.IOException,
BuildException
src - The source to import
java.io.IOException - If an error occurs while reading the file
BuildException - If an error occurs while translating the model
Process importFrom(java.net.URI src)
throws java.io.IOException,
BuildException
src - The source to import
java.io.IOException - If an error occurs while reading the file
BuildException - If an error occurs while translating the model
Process importFrom(java.io.InputStream is)
throws java.io.IOException,
BuildException
is - A stream to read from
java.io.IOException - If an error occurs while reading the file
BuildException - If an error occurs while translating the model
java.util.Collection<Process> importAllFrom(java.net.URI uri)
throws java.io.IOException,
BuildException
uri - The source to import
java.io.IOException - If an I/O error occurs while reading the source
BuildException - If an error occurs while translating the models
java.util.Collection<Process> importAllFrom(java.io.InputStream is)
throws java.io.IOException,
BuildException
is - The source to import
java.io.IOException - If an I/O error occurs while reading the source
BuildException - If an error occurs while translating the models
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||