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, wait
getContent, getStream
protected boolean loaded
protected String description
protected boolean disabled
protected AbstractContribution(String name)
public String getId()
StreamRef
protected void load()
public String getName()
Contribution
getName
in interface Contribution
public String getDescription()
Contribution
getDescription
in interface Contribution
public void setDescription(String description)
Contribution
setDescription
in interface Contribution
public boolean isDisabled()
Contribution
isDisabled
in interface Contribution
public void setDisabled(boolean isDisabled)
Contribution
setDisabled
in interface Contribution
Copyright © 2018 Nuxeo. All rights reserved.