public abstract class AbstractContribution extends Object implements Contribution
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected boolean |
disabled |
protected String |
id |
protected boolean |
loaded |
protected String |
name |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractContribution(String name) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Gets the contribution description.
|
String |
getId()
Get an unique identifier for this stream.
|
String |
getName()
Gets the contribution name.
|
boolean |
isDisabled()
Whether this contribution should be automatically installed at startup.
|
protected void |
load() |
void |
setDescription(String description)
Sets the contribution description.
|
void |
setDisabled(boolean isDisabled)
Sets the auto install flag for this contribution.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContent, getStreamprotected boolean loaded
protected String description
protected boolean disabled
protected AbstractContribution(String name)
public String getId()
StreamRefprotected void load()
public String getName()
ContributiongetName in interface Contributionpublic String getDescription()
ContributiongetDescription in interface Contributionpublic void setDescription(String description)
ContributionsetDescription in interface Contributionpublic boolean isDisabled()
ContributionisDisabled in interface Contributionpublic void setDisabled(boolean isDisabled)
ContributionsetDisabled in interface ContributionCopyright © 2016 Nuxeo SA. All rights reserved.