org.ow2.petals.cli.shell.jbi
Class Artifact

java.lang.Object
  extended by org.ow2.petals.cli.shell.jbi.Artifact
Direct Known Subclasses:
BindingComponent, ServiceAssembly, ServiceEngine, SharedLibrary

public abstract class Artifact
extends java.lang.Object

This class represents a remote JBI artifact archive

Author:
sandre

Field Summary
static java.lang.String XPATH_JBI_DESCRIPTION
          XPath expression to access the description of a JBI artifact
static java.lang.String XPATH_JBI_NAME
          XPath expression to access the name of a JBI artifact
static java.lang.String XPATH_JBI_ROOT
          XPath expression to match the JBI configuration node
 
Constructor Summary
Artifact(java.net.URL url, org.w3c.dom.Node jbiConfig)
          Create a new Artifact
 
Method Summary
abstract  org.ow2.petals.ant.AbstractJBIAntTask[] getDeployTasksSequence()
          Get the sequence of configured JBI ant tasks to deploy this artifact
 java.lang.String getDescription()
          Get the JBI description of this artifact
 org.w3c.dom.Node getJbiXml()
          Get the JBI configuration node
 java.lang.String getName()
          Get the JBI name of this artifact
abstract  org.ow2.petals.ant.AbstractJBIAntTask[] getUndeployTasksSequence()
          Get the sequence of configured JBI ant tasks to undeploy this artifact
 java.net.URL getURL()
          Get the artifact's URL
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

XPATH_JBI_ROOT

public static final java.lang.String XPATH_JBI_ROOT
XPath expression to match the JBI configuration node

See Also:
Constant Field Values

XPATH_JBI_NAME

public static final java.lang.String XPATH_JBI_NAME
XPath expression to access the name of a JBI artifact

See Also:
Constant Field Values

XPATH_JBI_DESCRIPTION

public static final java.lang.String XPATH_JBI_DESCRIPTION
XPath expression to access the description of a JBI artifact

See Also:
Constant Field Values
Constructor Detail

Artifact

public Artifact(java.net.URL url,
                org.w3c.dom.Node jbiConfig)
Create a new Artifact

Parameters:
url - URL of the JBI artifact
jbiConfig - JBI configuration node
Method Detail

getURL

public final java.net.URL getURL()
Get the artifact's URL

Returns:
the URL of the artifact

getJbiXml

public final org.w3c.dom.Node getJbiXml()
Get the JBI configuration node

Returns:
An XML node

getName

public java.lang.String getName()
Get the JBI name of this artifact

Returns:
a string not null

getDescription

public java.lang.String getDescription()
Get the JBI description of this artifact

Returns:
a string not null

getDeployTasksSequence

public abstract org.ow2.petals.ant.AbstractJBIAntTask[] getDeployTasksSequence()
Get the sequence of configured JBI ant tasks to deploy this artifact

Returns:
an array of JBI ant tasks

getUndeployTasksSequence

public abstract org.ow2.petals.ant.AbstractJBIAntTask[] getUndeployTasksSequence()
Get the sequence of configured JBI ant tasks to undeploy this artifact

Returns:
an array of JBI ant tasks

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.