public class Message extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
Message.AISTokens |
protected static class |
Message.AnnotationTokens |
protected static class |
Message.AquamapsTokens |
protected static class |
Message.HLTokens |
protected static class |
Message.OperatorType |
protected static class |
Message.ReportTokens |
protected static class |
Message.RetrieveContentTokens |
protected static class |
Message.SearchAndBrowseTokens |
protected static class |
Message.TSTokens |
protected static class |
Message.WarTokens |
protected static class |
Message.WebAppTokens |
protected static class |
Message.WorkflowDocumentTokens |
| Modifier and Type | Field and Description |
|---|---|
protected static String |
hlAddresssesSeparator |
protected static String |
hlAddresssesSeparator2 |
protected static String |
messageTokensSeparator |
protected StringTokenizer |
tokenizer |
| Constructor and Description |
|---|
Message(String token,
AccessLogParser.EntryType type)
Message constructor
|
| Modifier and Type | Method and Description |
|---|---|
ArrayList<org.gcube.messaging.common.messages.records.HLRecord.GCUBEUser> |
getAddresseeUsers() |
String[] |
getAisentry() |
String[] |
getAnnotationEntry() |
String[] |
getAquamapsEntry() |
String |
getBrowseBy()
get browse by
|
HashMap<String,String> |
getCollections()
get teh collections map
|
String[] |
getContent()
get the content info
|
String[] |
getHlentry() |
ArrayList<org.gcube.messaging.common.messages.records.WebAppRecord.WebApplication> |
getListApplication() |
ArrayList<org.gcube.messaging.common.messages.records.WebAppRecord.GHN> |
getListGHN() |
String |
getMessage()
get the message
|
static String |
getMessagetokensseparator() |
String |
getOperator()
get the operator
|
String[] |
getReportEntry() |
String |
getTerm()
get the term
|
HashMap<String,String> |
getTerms()
get the terms map
|
String |
getTstitle() |
AccessLogParser.EntryType |
getType()
get the type
|
String[] |
getWarEntry() |
String[] |
getWebAppEntry() |
String[] |
getWorkflowDocumentsEntry() |
boolean |
isDistinct()
set the isDistinct
|
void |
parse()
parse the message line of log
|
void |
setAddresseeUsers(ArrayList<org.gcube.messaging.common.messages.records.HLRecord.GCUBEUser> addresseeUsers) |
void |
setAisentry(String[] aisentry) |
void |
setAnnotationEntry(String[] annotationEntry) |
void |
setAquamapsEntry(String[] aquamapsEntry) |
void |
setBrowseBy(String browseBy)
set the browse by
|
void |
setCollections(HashMap<String,String> collections)
set the collections map
|
void |
setContent(String[] content)
set the content info
|
void |
setDistinct(boolean isDistinct)
set the isDistinct
|
void |
setHlentry(String[] hlentry) |
void |
setListApplication(ArrayList<org.gcube.messaging.common.messages.records.WebAppRecord.WebApplication> listApplication) |
void |
setListGHN(ArrayList<org.gcube.messaging.common.messages.records.WebAppRecord.GHN> listGHN) |
void |
setMessage(String message)
set teh message
|
void |
setOperator(String operator)
set the operator
|
void |
setReportEntry(String[] reportEntry) |
void |
setTerm(String term)
set the term
|
void |
setTerms(HashMap<String,String> terms)
set the terms map
|
void |
setTstitle(String tstitle) |
void |
setType(AccessLogParser.EntryType type)
set the type
|
void |
setWarEntry(String[] warEntry) |
void |
setWebAppEntry(String[] webAppEntry) |
void |
setWorkflowDocumentsEntry(String[] workflowDocumentsEntry) |
String |
toString()
get the message
|
protected static final String messageTokensSeparator
protected static final String hlAddresssesSeparator
protected static final String hlAddresssesSeparator2
protected StringTokenizer tokenizer
public Message(String token, AccessLogParser.EntryType type)
token - tokentype - typepublic void parse()
throws ParseException
ParseException - ParseExceptionpublic String[] getAquamapsEntry()
public void setAquamapsEntry(String[] aquamapsEntry)
public String[] getReportEntry()
public void setReportEntry(String[] reportEntry)
public String[] getWorkflowDocumentsEntry()
public void setWorkflowDocumentsEntry(String[] workflowDocumentsEntry)
public HashMap<String,String> getCollections()
public void setCollections(HashMap<String,String> collections)
collections - the collections mappublic String getMessage()
public void setMessage(String message)
message - the messagepublic String getTerm()
public void setTerm(String term)
term - the termpublic void setTerms(HashMap<String,String> terms)
terms - the terms mappublic AccessLogParser.EntryType getType()
public void setType(AccessLogParser.EntryType type)
type - public String getBrowseBy()
public void setBrowseBy(String browseBy)
browseBy - public boolean isDistinct()
public void setDistinct(boolean isDistinct)
isDistinct - the parameterpublic String getOperator()
public void setOperator(String operator)
operator - the operatorpublic String[] getContent()
public void setContent(String[] content)
content - the contepublic String[] getHlentry()
public void setHlentry(String[] hlentry)
hlentry - public ArrayList<org.gcube.messaging.common.messages.records.HLRecord.GCUBEUser> getAddresseeUsers()
public void setAddresseeUsers(ArrayList<org.gcube.messaging.common.messages.records.HLRecord.GCUBEUser> addresseeUsers)
addresseeUsers - public static String getMessagetokensseparator()
public String[] getAisentry()
public void setAisentry(String[] aisentry)
public String getTstitle()
public void setTstitle(String tstitle)
public String[] getAnnotationEntry()
public void setAnnotationEntry(String[] annotationEntry)
public String[] getWebAppEntry()
public void setWebAppEntry(String[] webAppEntry)
public ArrayList<org.gcube.messaging.common.messages.records.WebAppRecord.GHN> getListGHN()
public void setListGHN(ArrayList<org.gcube.messaging.common.messages.records.WebAppRecord.GHN> listGHN)
public ArrayList<org.gcube.messaging.common.messages.records.WebAppRecord.WebApplication> getListApplication()
public void setListApplication(ArrayList<org.gcube.messaging.common.messages.records.WebAppRecord.WebApplication> listApplication)
public String[] getWarEntry()
public void setWarEntry(String[] warEntry)
Copyright © 2014. All Rights Reserved.