|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.rhq.plugins.twitter.TwitterComponent
public class TwitterComponent
Implementation of the Twitter subsystem functionality. Most work is done in the children. This component allows to post tweets and to monitor the users timeline when username and password are given.
| Constructor Summary | |
|---|---|
TwitterComponent()
|
|
| Method Summary | |
|---|---|
AvailabilityType |
getAvailability()
Return availability of this resource |
protected String |
getSearchUrl()
|
protected String |
getServerUrl()
|
void |
getValues(MeasurementReport report,
Set<MeasurementScheduleRequest> metrics)
Gather measurement data |
OperationResult |
invokeOperation(String name,
Configuration configuration)
Implementation of the OperationFacet Sends a tweet |
void |
start(ResourceContext context)
Start the resource connection |
void |
stop()
Tear down the rescource connection |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TwitterComponent()
| Method Detail |
|---|
public AvailabilityType getAvailability()
getAvailability in interface AvailabilityFacetAvailabilityFacet.getAvailability()
public void start(ResourceContext context)
throws Exception
start in interface ResourceComponentExceptionResourceComponent.start(org.rhq.core.pluginapi.inventory.ResourceContext)public void stop()
stop in interface ResourceComponentResourceComponent.stop()
public void getValues(MeasurementReport report,
Set<MeasurementScheduleRequest> metrics)
throws Exception
getValues in interface MeasurementFacetExceptionMeasurementFacet.getValues(org.rhq.core.domain.measurement.MeasurementReport, java.util.Set)
public OperationResult invokeOperation(String name,
Configuration configuration)
throws Exception
invokeOperation in interface OperationFacetname - the name of the operationconfiguration - parameters of the operation
Exception - If anything goes wrongprotected String getServerUrl()
protected String getSearchUrl()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||