public class LogEntry extends Object
Modifier and Type | Class and Description |
---|---|
class |
LogEntry.CallInfo
Store info about the call
|
Constructor and Description |
---|
LogEntry(RIInvocationParser.EntryType type,
String line,
String time)
create a log entry object
|
Modifier and Type | Method and Description |
---|---|
LogEntry.CallInfo |
getInfo()
get the CallInfo object
|
double |
getInvocationTime()
get the invocationTIme
|
org.gcube.common.core.scope.GCUBEScope |
getScope()
get the scope
|
Date |
getStartDate() |
String |
getTime()
get the time
|
RIInvocationParser.EntryType |
getType()
get the entry type
|
void |
setInfo(LogEntry.CallInfo info)
set the callInfo object
|
void |
setInvocationTime(double invocationTime)
set the invocation TIme
|
void |
setScope(org.gcube.common.core.scope.GCUBEScope scope)
set the scope
|
void |
setStartDate(Date startDate) |
void |
setTime(String time)
set the time
|
void |
setType(RIInvocationParser.EntryType type)
set the entry type
|
public LogEntry(RIInvocationParser.EntryType type, String line, String time) throws ParseException
type
- typeline
- linetime
- timeParseException
- ParseExceptionpublic LogEntry.CallInfo getInfo()
public void setInfo(LogEntry.CallInfo info)
info
- public double getInvocationTime()
public void setInvocationTime(double invocationTime)
invocationTime
- public org.gcube.common.core.scope.GCUBEScope getScope()
public void setScope(org.gcube.common.core.scope.GCUBEScope scope)
scope
- the scopepublic RIInvocationParser.EntryType getType()
public void setType(RIInvocationParser.EntryType type)
type
- public Date getStartDate()
public void setStartDate(Date startDate)
public String getTime()
public void setTime(String time)
time
- the timeCopyright © 2015. All Rights Reserved.