org.jboss.testharness.impl.packaging
Interface TCKArtifact
- All Known Implementing Classes:
- JSR299ArtifactDescriptor, JSR303ArtifactDescriptor, TCKArtifactDescriptor
public interface TCKArtifact
- Author:
- Hardy Ferentschik
initialize
TCKArtifact initialize()
getJarAsStream
InputStream getJarAsStream()
throws IOException
- Throws:
IOException
getJar
URL getJar()
throws IOException
- Throws:
IOException
getExplodedJar
File getExplodedJar()
throws IOException
- Throws:
IOException
create
void create()
throws IOException
- Throws:
IOException
writeArtifactToDisk
void writeArtifactToDisk(String outputDirectory)
throws IOException
- Throws:
IOException
writeArtifactToDisk
void writeArtifactToDisk(String outputDirectory,
String fileName)
throws IOException
- Throws:
IOException
getDefaultName
String getDefaultName()
getClasses
Set<Class<?>> getClasses()
getResources
Set<ResourceDescriptor> getResources()
addPackage
void addPackage(Package pkg)
addPackage
void addPackage(String packageName,
boolean addRecursively)
addToClassPath
void addToClassPath(String relativeUrl)
getClassesRoot
File getClassesRoot(File archiveRoot)
getClassesRoot
String getClassesRoot()
setClassesRoot
void setClassesRoot(String classesRoot)
getDeclaringClass
Class<?> getDeclaringClass()
getExtension
String getExtension()
setExtension
void setExtension(String extension)
getLibraries
Set<ResourceDescriptor> getLibraries()
getLibraryRoot
File getLibraryRoot(File archiveRoot)
setLibrariesRoot
void setLibrariesRoot(String libraryRoot)
isLibrariesSupported
boolean isLibrariesSupported()
setLibrariesSupported
void setLibrariesSupported(boolean librariesSupported)
isExtrasSupported
boolean isExtrasSupported()
setExtrasSupported
void setExtrasSupported(boolean extrasSupported)
isUnit
boolean isUnit()
setUnit
void setUnit(boolean unit)
getExpectedDeploymentException
Class<? extends Throwable> getExpectedDeploymentException()
setExpectedDeploymentException
void setExpectedDeploymentException(Class<? extends Throwable> expectedDeploymentException)
isRunLocally
boolean isRunLocally()
setRunLocally
void setRunLocally(boolean runLocally)
getXmlConfigDestination
String getXmlConfigDestination()
setXmlConfigDestination
void setXmlConfigDestination(String xmlConfigDest)
getXmlConfig
ResourceDescriptor getXmlConfig()
skipIncludeXmlConfig
void skipIncludeXmlConfig(boolean skip)
setIncludeDeploymentProperties
void setIncludeDeploymentProperties(boolean include)
setSkipBeansXmlConfig
void setSkipBeansXmlConfig(boolean skipBeansXmlConfig)
isIncludeDeploymentProperties
boolean isIncludeDeploymentProperties()
Copyright © 2009-2010. All Rights Reserved.