@Api public class ComponentDefinition extends Object
Constructor and Description |
---|
ComponentDefinition(ComponentDefinition definition) |
ComponentDefinition(String id,
LocalizedString name,
LocalizedString description,
Icon icon,
List<Category> categories,
List<ParameterDefinition<?>> parameters,
List<ContextVariable<?>> contextVariables) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<Category> |
getCategories() |
List<ContextVariable<?>> |
getContextVariables() |
String |
getDescription() |
Icon |
getIcon() |
String |
getId()
Component id.
|
String |
getName() |
ParameterDefinition<?> |
getParameter(String id) |
List<ParameterDefinition<?>> |
getParameters() |
ComponentSource |
getSource() |
int |
hashCode() |
void |
setSource(ComponentSource source) |
public ComponentDefinition(ComponentDefinition definition)
public ComponentDefinition(String id, LocalizedString name, LocalizedString description, Icon icon, List<Category> categories, List<ParameterDefinition<?>> parameters, List<ContextVariable<?>> contextVariables)
public String getId()
public String getName()
public String getDescription()
public Icon getIcon()
public List<ContextVariable<?>> getContextVariables()
public List<ParameterDefinition<?>> getParameters()
public ParameterDefinition<?> getParameter(String id) throws UnknownParameterException
UnknownParameterException
public ComponentSource getSource()
public void setSource(ComponentSource source)
Copyright © 2017 Suncode. All rights reserved.