|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.messaging.accounting.portal.logparser.entry.Message
public class Message
Nested Class Summary | |
---|---|
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
|
Field Summary | |
---|---|
protected static String |
hlAddresssesSeparator
|
protected static String |
hlAddresssesSeparator2
|
protected static String |
messageTokensSeparator
|
protected StringTokenizer |
tokenizer
|
Constructor Summary | |
---|---|
Message(String token,
AccessLogParser.EntryType type)
Message constructor |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final String messageTokensSeparator
protected static final String hlAddresssesSeparator
protected static final String hlAddresssesSeparator2
protected StringTokenizer tokenizer
Constructor Detail |
---|
public Message(String token, AccessLogParser.EntryType type)
token
- tokentype
- typeMethod Detail |
---|
public 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 String toString()
toString
in class Object
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 HashMap<String,String> getTerms()
public 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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |