org.rhq.plugins.apache.parser
Class ApacheDirective
java.lang.Object
org.rhq.plugins.apache.parser.ApacheDirective
- All Implemented Interfaces:
- Cloneable
public class ApacheDirective
- extends Object
- implements Cloneable
ApacheDirective
public ApacheDirective()
ApacheDirective
public ApacheDirective(String directive)
getName
public String getName()
setName
public void setName(String name)
getValues
public List<String> getValues()
setValues
public void setValues(List<String> values)
isNested
public boolean isNested()
setNested
public void setNested(boolean isNested)
getValuesAsString
public String getValuesAsString()
addChildDirective
public void addChildDirective(ApacheDirective directive)
getChildDirectives
public List<ApacheDirective> getChildDirectives()
getChildByName
public List<ApacheDirective> getChildByName(String name)
getParentNode
public ApacheDirective getParentNode()
setParentNode
public void setParentNode(ApacheDirective parent)
isRootNode
public boolean isRootNode()
setRootNode
public void setRootNode(boolean isRootNode)
isUpdated
public boolean isUpdated()
setUpdated
public void setUpdated(boolean updated)
getFile
public String getFile()
setFile
public void setFile(String file)
removeChilDirective
public void removeChilDirective(ApacheDirective dir)
remove
public void remove()
getText
public String getText()
getSeq
public int getSeq()
addValue
public void addValue(String val)
clone
public ApacheDirective clone()
- Overrides:
clone in class Object
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.