public class MicroblogClient extends Bootstrap
BOOT_PROPERTIES_NAME, LIBRARY_PROPERTIES_NAME, OPENNMS_HOME_PROPERTY, OPENNMS_PROPERTIES_D_NAME, OPENNMS_PROPERTIES_NAME, RRD_PROPERTIES_NAME
Constructor and Description |
---|
MicroblogClient(MicroblogConfigurationDao dao) |
MicroblogClient(org.springframework.core.io.Resource configResource) |
Modifier and Type | Method and Description |
---|---|
MicroblogProfile |
getProfile(String profile) |
twitter4j.Twitter |
getTwitter(String profile) |
boolean |
hasBasicAuth(String profile) |
boolean |
hasOAuth(String profile) |
boolean |
hasOAuthAccessToken(String profile) |
boolean |
isOAuthUsable(String profile) |
static void |
main(String[] args) |
MicroblogAuthorization |
requestAuthorization(String profile) |
executeClass, executeClass, findOpenNMSHome, findOpenNMSHomeUsingJarPath, getPropertiesFiles, isValidOpenNMSHome, loadClasses, loadClasses, loadClasses, loadSystemProperties, newClassLoader
public MicroblogClient(MicroblogConfigurationDao dao)
public MicroblogClient(org.springframework.core.io.Resource configResource)
public MicroblogProfile getProfile(String profile)
public boolean isOAuthUsable(String profile)
public boolean hasOAuth(String profile)
public boolean hasOAuthAccessToken(String profile)
public boolean hasBasicAuth(String profile)
public MicroblogAuthorization requestAuthorization(String profile) throws MicroblogAuthorization.MicroblogAuthorizationException
public twitter4j.Twitter getTwitter(String profile)
Copyright © 2017. All rights reserved.