org.onebusaway.federations.impl
public class FederatedServiceEntryImpl extends Object
FederatedServiceRegistryImpl
Constructor and Description |
---|
FederatedServiceEntryImpl(String serviceUrl,
String serviceClass,
Map<String,String> properties) |
Modifier and Type | Method and Description |
---|---|
FederatedServiceRegistryEntry |
getAsEntry() |
long |
getExpiresAfter() |
Map<String,String> |
getProperties() |
String |
getServiceClass() |
String |
getServiceUrl() |
boolean |
isApplicable(Map<String,String> properties)
Determines if a particular service entry is applicable for a set of target
properties.
|
boolean |
isEnabled() |
boolean |
isExpired() |
void |
setEnabled(boolean enabled) |
void |
setExpiresAfter(long expiresAfter) |
public void setEnabled(boolean enabled)
public boolean isApplicable(Map<String,String> properties)
properties
.properties
- public long getExpiresAfter()
public void setExpiresAfter(long expiresAfter)
public boolean isExpired()
public String getServiceUrl()
public String getServiceClass()
public boolean isEnabled()
public FederatedServiceRegistryEntry getAsEntry()
Copyright © 2014 OneBusAway. All Rights Reserved.