Nuxeo Enterprise Platform 5.4

org.nuxeo.runtime.model.persistence
Interface Contribution

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

public interface Contribution
extends StreamRef

Author:
Bogdan Stefanescu

Method Summary
 java.lang.String getContent()
          Gets the contribution XML content.
 java.lang.String getDescription()
          Gets the contribution description.
 java.lang.String getName()
          Gets the contribution name.
 java.io.InputStream getStream()
          Gets the contribution XML content.
 boolean isDisabled()
          Whether this contribution should be automatically installed at startup.
 void setDescription(java.lang.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

java.lang.String getName()
Gets the contribution name.


getDescription

java.lang.String getDescription()
Gets the contribution description.


setDescription

void setDescription(java.lang.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

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

Specified by:
getStream in interface StreamRef
Returns:

getContent

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


Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.