org.codehaus.plexus.component.repository.ComponentSetDescriptor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of virtdata-lib-realer Show documentation
Show all versions of virtdata-lib-realer Show documentation
With inspiration from other libraries
package org.codehaus.plexus.component.repository;
import java.util.List;
import java.util.ArrayList;
/**
* @author Jason van Zyl
* @author Trygve Laugstøl
* @version $Id: ComponentSetDescriptor.java 1323 2004-12-20 23:00:59Z jvanzyl $
*/
public class ComponentSetDescriptor
{
private List components;
private List dependencies;
private boolean isolatedRealm;
private String id;
public List getComponents()
{
return components;
}
public void addComponentDescriptor( ComponentDescriptor cd )
{
if ( components == null )
{
components = new ArrayList();
}
components.add( cd );
}
public void setComponents( List components )
{
this.components = components;
}
public List getDependencies()
{
return dependencies;
}
public void addDependency( ComponentDependency cd )
{
if ( dependencies == null )
{
dependencies = new ArrayList();
}
dependencies.add( cd );
}
public void setDependencies( List dependencies )
{
this.dependencies = dependencies;
}
public void setIsolatedRealm( boolean isolatedRealm )
{
this.isolatedRealm = isolatedRealm;
}
public boolean isIsolatedRealm()
{
return isolatedRealm;
}
public String getId()
{
return id;
}
public void setId( String id )
{
this.id = id;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy