|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.runtime.model.persistence.AbstractContribution org.nuxeo.runtime.model.persistence.ContributionBuilder
public class ContributionBuilder
Constructor Summary | |
---|---|
ContributionBuilder(String name)
|
Method Summary | |
---|---|
void |
addExtension(String target,
String point,
List<Object> contribs)
|
void |
addExtension(String target,
String point,
Object... contribs)
|
void |
addXmlExtension(String target,
String point,
String content)
|
URL |
asURL()
Get an URL to that stream. |
String |
getContent()
Gets the contribution XML content. |
String |
getDescription()
Gets the contribution description. |
String |
getName()
Gets the contribution name. |
InputStream |
getStream()
Gets the contribution XML content. |
boolean |
isDisabled()
Whether this contribution should be automatically installed at startup. |
void |
setBundle(String bundle)
|
void |
setDescription(String description)
Sets the contribution description. |
void |
setDisabled(boolean isDisabled)
Sets the auto install flag for this contribution. |
Methods inherited from class org.nuxeo.runtime.model.persistence.AbstractContribution |
---|
getId |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContributionBuilder(String name)
Method Detail |
---|
public String getName()
Contribution
public URL asURL()
StreamRef
public void setBundle(String bundle)
public void setDescription(String description)
Contribution
public String getDescription()
Contribution
public boolean isDisabled()
Contribution
public void setDisabled(boolean isDisabled)
Contribution
public void addXmlExtension(String target, String point, String content) throws Exception
Exception
public void addExtension(String target, String point, Object... contribs) throws Exception
Exception
public void addExtension(String target, String point, List<Object> contribs) throws Exception
Exception
public String getContent()
Contribution
public InputStream getStream()
Contribution
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |