public class CollectdPackage extends Object
Constructor and Description |
---|
CollectdPackage(Package pkg,
String localServer,
boolean verifyServer)
Constructor for CollectdPackage.
|
Modifier and Type | Method and Description |
---|---|
List<IncludeURL> |
getIncludeURLs()
getIncludeURLs
|
protected List<InetAddress> |
getIpList()
getIpList
|
String |
getName()
getName
|
Package |
getPackage()
getPackage
|
Service |
getService(String svcName)
getService
|
String |
getStorFlagOverride()
getStorFlagOverride
|
protected boolean |
hasExcludeRange(String addr,
boolean has_specific) |
protected boolean |
hasIncludeRange(String addr)
hasIncludeRange
|
protected boolean |
hasSpecific(byte[] addr) |
protected boolean |
hasSpecificUrl(String iface,
boolean has_specific) |
String |
ifAliasComment()
ifAliasComment
|
String |
ifAliasDomain()
ifAliasDomain
|
protected boolean |
interfaceInFilter(String iface) |
boolean |
interfaceInPackage(String iface)
This method is used to determine if the named interface is included in
the passed package definition.
|
protected ThreadCategory |
log() |
void |
putIpList(List<InetAddress> ipList)
putIpList
|
boolean |
serviceInPackageAndEnabled(String svcName)
Returns true if the service is part of the package and the status of the
service is set to "on".
|
String |
storeByIfAlias()
storeByIfAlias
|
String |
storeByNodeId()
storeByNodeId
|
public boolean serviceInPackageAndEnabled(String svcName)
svcName
- The service name to lookup.protected boolean hasSpecific(byte[] addr)
protected boolean hasIncludeRange(String addr)
hasIncludeRange
addr
- a long.protected boolean hasExcludeRange(String addr, boolean has_specific)
public void putIpList(List<InetAddress> ipList)
putIpList
ipList
- a List
object.protected List<InetAddress> getIpList()
getIpList
List
object.protected boolean interfaceInFilter(String iface)
protected ThreadCategory log()
public List<IncludeURL> getIncludeURLs()
getIncludeURLs
List
object.protected boolean hasSpecificUrl(String iface, boolean has_specific)
public boolean interfaceInPackage(String iface)
iface
- The interface to test against the package.public String getStorFlagOverride()
getStorFlagOverride
String
object.Copyright © 2015. All Rights Reserved.