Class LibraryArtifact
- java.lang.Object
-
- org.apache.synapse.libraries.model.LibraryArtifact
-
- All Implemented Interfaces:
SynapseArtifact
public class LibraryArtifact extends Object implements SynapseArtifact
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLibraryArtifact.Dependency
-
Constructor Summary
Constructors Constructor Description LibraryArtifact(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSubArtifact(LibraryArtifact artifact)StringgetDescription()Retrieves the description of the artifactStringgetName()StringgetType()booleanisLeafArtifact()voidloadComponentsInto(SynapseLibrary library)voidsetDescription(String description)Set the description of the artifactvoidsetParent(LibraryArtifact parent)voidsetPath(String path)voidsetType(String type)voidsetupFile(String filename)StringtoString()
-
-
-
Constructor Detail
-
LibraryArtifact
public LibraryArtifact(String name)
-
-
Method Detail
-
setupFile
public void setupFile(String filename)
-
addSubArtifact
public void addSubArtifact(LibraryArtifact artifact)
-
getName
public String getName()
-
isLeafArtifact
public boolean isLeafArtifact()
-
loadComponentsInto
public void loadComponentsInto(SynapseLibrary library)
-
setPath
public void setPath(String path)
-
getType
public String getType()
-
setType
public void setType(String type)
-
setParent
public void setParent(LibraryArtifact parent)
-
setDescription
public void setDescription(String description)
Description copied from interface:SynapseArtifactSet the description of the artifact- Specified by:
setDescriptionin interfaceSynapseArtifact- Parameters:
description- tobe set to the artifact
-
getDescription
public String getDescription()
Description copied from interface:SynapseArtifactRetrieves the description of the artifact- Specified by:
getDescriptionin interfaceSynapseArtifact- Returns:
- description of the artifact
-
-