All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.relevantcodes.extentreports.model.Log Maven / Gradle / Ivy

There is a newer version: 2.41.2
Show newest version
/*
* Copyright (c) 2015, Anshoo Arora (Relevant Codes).  All rights reserved.
* 
* Copyrights licensed under the New BSD License.
* 
* See the accompanying LICENSE file for terms.
*/

package com.relevantcodes.extentreports.model;

import java.io.Serializable;
import java.util.Calendar;
import java.util.Date;

import com.relevantcodes.extentreports.LogStatus;

public class Log implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 889252425952501333L;
	private Date timestamp;
    private LogStatus logStatus;
    private String stepName;
    private String details;
    
    public Date getTimestamp() {
        return timestamp;
    }
    
    public void setTimestamp(Date timestamp) {
    	this.timestamp = timestamp;
    }
    
    public void setLogStatus(LogStatus logStatus) {
        this.logStatus = logStatus;
    }
    
    public LogStatus getLogStatus() {
        return logStatus;
    }
    
    public void setStepName(String stepName) {
        this.stepName = stepName;
    }
    
    public String getStepName() {
        return stepName;
    }
    
    public void setDetails(String details) {
        this.details = details;
    }
    
    public String getDetails() {
        return details;
    }
    
    public Log() {
    	timestamp = Calendar.getInstance().getTime();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy