com.cloudcontrolled.api.model
Class Log

java.lang.Object
  extended by com.cloudcontrolled.api.model.AbstractModel
      extended by com.cloudcontrolled.api.model.Log

public class Log
extends AbstractModel

The log object contains the timestamp, the type and the content of your log messages of your installed deployment.

Author:
Denis Neuling (denisneuling@gmail.com)

Constructor Summary
Log()
           Constructor for Log.
 
Method Summary
 String getMessage()
           Getter for the field message.
 long getTime()
           Getter for the field time.
 String getType()
           Getter for the field type.
 void setMessage(String message)
           Setter for the field message.
 void setTime(long time)
           Setter for the field time.
 void setType(String type)
           Setter for the field type.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Log

public Log()

Constructor for Log.

Method Detail

getTime

public long getTime()

Getter for the field time.

Returns:
dateTime the datetime when the log entry was produced

setTime

public void setTime(long time)

Setter for the field time.

Parameters:
time - the time to set

getMessage

public String getMessage()

Getter for the field message.

Returns:
message the message of the log entry

setMessage

public void setMessage(String message)

Setter for the field message.

Parameters:
message - the message to set

getType

public String getType()

Getter for the field type.

Returns:
type the type of the log entry

setType

public void setType(String type)

Setter for the field type.

Parameters:
type - the type to set

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.