aQute.bnd.build.model.clauses
Class ServiceComponent

java.lang.Object
  extended by aQute.bnd.build.model.clauses.HeaderClause
      extended by aQute.bnd.build.model.clauses.ServiceComponent
All Implemented Interfaces:
Cloneable, Comparable<HeaderClause>

public class ServiceComponent
extends HeaderClause
implements Cloneable


Field Summary
static String COMPONENT_ACTIVATE
           
static String COMPONENT_CONFIGURATION_POLICY
           
static String COMPONENT_DEACTIVATE
           
static String COMPONENT_DYNAMIC
           
static String COMPONENT_ENABLED
           
static String COMPONENT_FACTORY
           
static String COMPONENT_IMMEDIATE
           
static String COMPONENT_MODIFIED
           
static String COMPONENT_MULTIPLE
           
static String COMPONENT_OPTIONAL
           
static String COMPONENT_PROPERTIES
           
static String COMPONENT_PROVIDE
           
static String COMPONENT_SERVICEFACTORY
           
static String COMPONENT_VERSION
           
 
Fields inherited from class aQute.bnd.build.model.clauses.HeaderClause
attribs, name
 
Constructor Summary
ServiceComponent(String name, Attrs attribs)
           
 
Method Summary
 ServiceComponent clone()
           
static ServiceComponent error(String msg)
           
 Map<String,String> getPropertiesMap()
           
 List<ComponentSvcReference> getSvcRefs()
           
 boolean isPath()
           
protected  boolean newlinesBetweenAttributes()
           
 void setPropertiesMap(Map<String,String> properties)
           
 void setSvcRefs(List<? extends ComponentSvcReference> refs)
           
 
Methods inherited from class aQute.bnd.build.model.clauses.HeaderClause
compareTo, equals, formatTo, formatTo, getAttribs, getListAttrib, getName, hashCode, setListAttrib, setName
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_FACTORY

public static final String COMPONENT_FACTORY
See Also:
Constant Field Values

COMPONENT_SERVICEFACTORY

public static final String COMPONENT_SERVICEFACTORY
See Also:
Constant Field Values

COMPONENT_IMMEDIATE

public static final String COMPONENT_IMMEDIATE
See Also:
Constant Field Values

COMPONENT_ENABLED

public static final String COMPONENT_ENABLED
See Also:
Constant Field Values

COMPONENT_DYNAMIC

public static final String COMPONENT_DYNAMIC
See Also:
Constant Field Values

COMPONENT_MULTIPLE

public static final String COMPONENT_MULTIPLE
See Also:
Constant Field Values

COMPONENT_PROVIDE

public static final String COMPONENT_PROVIDE
See Also:
Constant Field Values

COMPONENT_OPTIONAL

public static final String COMPONENT_OPTIONAL
See Also:
Constant Field Values

COMPONENT_PROPERTIES

public static final String COMPONENT_PROPERTIES
See Also:
Constant Field Values

COMPONENT_VERSION

public static final String COMPONENT_VERSION
See Also:
Constant Field Values

COMPONENT_CONFIGURATION_POLICY

public static final String COMPONENT_CONFIGURATION_POLICY
See Also:
Constant Field Values

COMPONENT_MODIFIED

public static final String COMPONENT_MODIFIED
See Also:
Constant Field Values

COMPONENT_ACTIVATE

public static final String COMPONENT_ACTIVATE
See Also:
Constant Field Values

COMPONENT_DEACTIVATE

public static final String COMPONENT_DEACTIVATE
See Also:
Constant Field Values
Constructor Detail

ServiceComponent

public ServiceComponent(String name,
                        Attrs attribs)
Method Detail

isPath

public boolean isPath()

setPropertiesMap

public void setPropertiesMap(Map<String,String> properties)

getPropertiesMap

public Map<String,String> getPropertiesMap()

setSvcRefs

public void setSvcRefs(List<? extends ComponentSvcReference> refs)

getSvcRefs

public List<ComponentSvcReference> getSvcRefs()

clone

public ServiceComponent clone()
Overrides:
clone in class HeaderClause

newlinesBetweenAttributes

protected boolean newlinesBetweenAttributes()
Overrides:
newlinesBetweenAttributes in class HeaderClause

error

public static ServiceComponent error(String msg)


Copyright © 2014 aQute SARL. All rights reserved.