public interface DeploymentObject
DeploymentObject
Object representation of a deployment artifact of some type.
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes any resources that may have been opend during the use
of this ObjectHandler.
|
InputStream |
getConfiguration(String configPath)
retreives the the configuration for this deployment artifact
based on the artifact-relative
configPath
provided. |
File |
getFile() |
String |
getName()
getName
|
String |
getPath()
getPath
|
void close() throws IOException
IOException
InputStream getConfiguration(String configPath) throws IOException
configPath
provided.configPath
- artifact-relative path to the confiuration filenull
if the
configuration is not present in the artifact.IOException
- error opening the configurationString getName()
getName
new java.io.File(getPath()).getName()
String getPath()
getPath
File getFile()
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.