|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.enunciate.main.BaseArtifact
org.codehaus.enunciate.main.ClientLibraryArtifact
public class ClientLibraryArtifact
A client-side libarary artifact.
| Constructor Summary | |
|---|---|
ClientLibraryArtifact(java.lang.String module,
java.lang.String id,
java.lang.String name)
|
|
| Method Summary | |
|---|---|
void |
addArtifact(FileArtifact artifact)
The artifact to add. |
void |
exportTo(java.io.File file,
Enunciate enunciate)
If the file to export to is an existing directoy, copy the artifacts to that directory. |
java.util.Collection<? extends Artifact> |
getArtifacts()
The artifacts that are associated with this bundle. |
java.util.Date |
getCreated()
The date this artifact was created (defaults to the date this artifact was constructed). |
java.lang.String |
getDescription()
A description of this library. |
java.lang.String |
getName()
The name for this library. |
java.lang.String |
getPlatform()
A string describing the platform this library applies to. |
long |
getSize()
If this artifact has been exported to a zip file, it will return the size in bytes of that file. |
void |
setCreated(java.util.Date created)
The date this artifact was created. |
void |
setDescription(java.lang.String description)
A description of this library. |
void |
setPlatform(java.lang.String platform)
A string describing the platform this library applies to. |
| Methods inherited from class org.codehaus.enunciate.main.BaseArtifact |
|---|
addAlias, addDependency, compareTo, getAliases, getDependencies, getId, getModule, isPublic, setDependencies |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.codehaus.enunciate.main.Artifact |
|---|
getAliases, getDependencies, getId, getModule, isPublic |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Constructor Detail |
|---|
public ClientLibraryArtifact(java.lang.String module,
java.lang.String id,
java.lang.String name)
| Method Detail |
|---|
public void exportTo(java.io.File file,
Enunciate enunciate)
throws java.io.IOException
exportTo in interface Artifactfile - The file to write to.enunciate - The utilities to use.
java.io.IOException - If an error occurs exporting it.public java.lang.String getName()
getName in interface NamedArtifactpublic java.util.Collection<? extends Artifact> getArtifacts()
getArtifacts in interface ArtifactBundlepublic long getSize()
getSize in interface Artifactpublic void addArtifact(FileArtifact artifact)
artifact - The artifact to add.public java.util.Date getCreated()
public void setCreated(java.util.Date created)
created - The date this artifact was created.public java.lang.String getPlatform()
public void setPlatform(java.lang.String platform)
platform - A string describing the platform this library applies to.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - A description of this library.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||