Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.model.persistence
Interface Contribution

All Superinterfaces:
StreamRef
All Known Implementing Classes:
AbstractContribution, ContributionBuilder, ContributionFile, ContributionLocation

public interface Contribution
extends StreamRef

Author:
Bogdan Stefanescu

Method Summary
 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 setDescription(String description)
          Sets the contribution description.
 void setDisabled(boolean isAutoStart)
          Sets the auto install flag for this contribution.
 
Methods inherited from interface org.nuxeo.runtime.model.StreamRef
asURL, getId
 

Method Detail

getName

String getName()
Gets the contribution name.


getDescription

String getDescription()
Gets the contribution description.


setDescription

void setDescription(String description)
Sets the contribution description.


isDisabled

boolean isDisabled()
Whether this contribution should be automatically installed at startup.


setDisabled

void setDisabled(boolean isAutoStart)
Sets the auto install flag for this contribution.


getStream

InputStream getStream()
Gets the contribution XML content. The content should be in Nuxeo XML component format.

Specified by:
getStream in interface StreamRef
Returns:

getContent

String getContent()
Gets the contribution XML content. The content should be in Nuxeo XML component format.


Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.