public class ModuleDefinition extends Object
Constructor and Description |
---|
ModuleDefinition() |
ModuleDefinition(String name,
Version version,
String className,
Class<? extends ModuleVersionHandler> versionHandler) |
public ModuleDefinition()
public ModuleDefinition(String name, Version version, String className, Class<? extends ModuleVersionHandler> versionHandler)
public String getName()
public void setName(String name)
public String getDisplayName()
public void setDisplayName(String displayName)
public String getDescription()
public void setDescription(String description)
public String getClassName()
public void setClassName(String className)
public Class<? extends ModuleVersionHandler> getVersionHandler()
public void setVersionHandler(Class<? extends ModuleVersionHandler> versionHandler)
public void setVersion(Version version)
public Version getVersion()
public Collection<DependencyDefinition> getDependencies()
public void setDependencies(Collection<DependencyDefinition> dependencies)
public void addDependency(DependencyDefinition dep)
public Collection<ServletDefinition> getServlets()
public void setServlets(Collection<ServletDefinition> servlets)
public void addServlet(ServletDefinition def)
public Collection<RepositoryDefinition> getRepositories()
public void setRepositories(Collection<RepositoryDefinition> repositories)
public void addRepository(RepositoryDefinition repository)
public Collection<PropertyDefinition> getProperties()
public void setProperties(Collection<PropertyDefinition> properties)
public void addProperty(PropertyDefinition property)
public Collection<ComponentsDefinition> getComponents()
public void setComponents(Collection<ComponentsDefinition> components)
public boolean addComponents(ComponentsDefinition components)
public String getProperty(String propertyName)
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.