Package org.nuxeo.runtime.tomcat.dev
Class DevBundle
- java.lang.Object
-
- org.nuxeo.runtime.tomcat.dev.DevBundle
-
- All Implemented Interfaces:
Serializable
public class DevBundle extends Object implements Serializable
Bundle descriptor for hot deployment.- Since:
- 5.5
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected DevBundleType
devBundleType
protected String
name
protected String
path
-
Constructor Summary
Constructors Constructor Description DevBundle(String path, DevBundleType devBundleType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description File
file()
DevBundleType
getDevBundleType()
String
getName()
String
getPath()
static DevBundle
parseDevBundleLine(String line)
static DevBundle[]
parseDevBundleLines(InputStream is)
String
toString()
Converts theDevBundle
to String with the same format as the one expected inparseDevBundleLine
.URL
url()
-
-
-
Field Detail
-
name
protected String name
-
devBundleType
protected final DevBundleType devBundleType
-
path
protected final String path
-
-
Constructor Detail
-
DevBundle
public DevBundle(String path, DevBundleType devBundleType)
-
-
Method Detail
-
parseDevBundleLines
public static DevBundle[] parseDevBundleLines(InputStream is) throws IOException
- Throws:
IOException
-
url
public URL url() throws IOException
- Throws:
IOException
-
file
public File file()
-
getName
public String getName()
-
getPath
public String getPath()
-
getDevBundleType
public DevBundleType getDevBundleType()
- Since:
- 9.3
-
toString
public String toString()
Converts theDevBundle
to String with the same format as the one expected inparseDevBundleLine
.
-
-