Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected static String |
FULLNAME_IN_PROFILE_KEY |
protected String |
id |
static String |
ITEM_URL |
protected static String |
NOTIFICATION_MESSAGE |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
protected static String |
RESULT_KEY |
protected static String |
SOCIAL_POST_ENABLE_NOTIFICATION_KEY |
protected static String |
SOCIAL_POST_RESPONSE_MESSAGE_KEY |
protected static String |
SOCIAL_POST_RESPONSE_SUCCESS_KEY |
protected static String |
SOCIAL_POST_TEXT_KEY |
protected static String |
SOCIAL_SERVICE_GET_USER_INFO_PATH |
protected static String |
SOCIAL_SERVICE_WRITE_APPLICATION_POST_PATH |
protected GcoreEndpointReaderSNL |
socialService |
protected List<String> |
tags |
protected String |
title |
protected String |
url |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
SocialService() |
SocialService(String id,
String url,
com.fasterxml.jackson.databind.node.ArrayNode arrayNode,
String title) |
SocialService(String id,
String url,
List<String> tags,
String title) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFullName() |
com.fasterxml.jackson.databind.JsonNode |
getGCubeUserProfile()
Execute the GET http request at this url, and return the result as string
|
com.fasterxml.jackson.databind.JsonNode |
getGCubeUserProfile(String username) |
void |
run() |
void |
sendSocialPost(boolean notifyUsers) |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic static final String ITEM_URL
protected static final String SOCIAL_SERVICE_WRITE_APPLICATION_POST_PATH
protected static final String SOCIAL_SERVICE_GET_USER_INFO_PATH
protected static final String NOTIFICATION_MESSAGE
protected static final String RESULT_KEY
protected static final String FULLNAME_IN_PROFILE_KEY
protected static final String SOCIAL_POST_TEXT_KEY
protected static final String SOCIAL_POST_ENABLE_NOTIFICATION_KEY
protected static final String SOCIAL_POST_RESPONSE_SUCCESS_KEY
protected static final String SOCIAL_POST_RESPONSE_MESSAGE_KEY
protected String id
protected String url
protected String title
protected final GcoreEndpointReaderSNL socialService
protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper
public SocialService(String id, String url, List<String> tags, String title) throws Exception
Exceptionpublic com.fasterxml.jackson.databind.JsonNode getGCubeUserProfile()
throws Exception
Exceptionpublic com.fasterxml.jackson.databind.JsonNode getGCubeUserProfile(String username) throws Exception
Exceptionpublic void sendSocialPost(boolean notifyUsers)
Copyright © 2019. All Rights Reserved.