com.tcdng.unify.core.UnifyComponentInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of unify-core Show documentation
Show all versions of unify-core Show documentation
Unify Framework: Core Components
/*
* Copyright 2018-2020 The Code Department.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.tcdng.unify.core;
import java.util.Date;
import java.util.List;
/**
* Unify component information data object.
*
* @author Lateef Ojulari
* @since 1.0
*/
public class UnifyComponentInfo {
private String name;
private String type;
private Date firstPassTime;
private Date firstFailTime;
private Date lastPassTime;
private Date lastFailTime;
private int passCount;
private int failCount;
private List settingInfoList;
public UnifyComponentInfo(String name, String type, Date firstPassTime, Date firstFailTime, Date lastPassTime,
Date lastFailTime, int passCount, int failCount, List settingInfoList) {
this.name = name;
this.type = type;
this.firstPassTime = firstPassTime;
this.firstFailTime = firstFailTime;
this.lastPassTime = lastPassTime;
this.lastFailTime = lastFailTime;
this.passCount = passCount;
this.failCount = failCount;
this.settingInfoList = settingInfoList;
}
public String getName() {
return name;
}
public String getType() {
return type;
}
public Date getFirstPassTime() {
return firstPassTime;
}
public Date getFirstFailTime() {
return firstFailTime;
}
public Date getLastPassTime() {
return lastPassTime;
}
public Date getLastFailTime() {
return lastFailTime;
}
public int getPassCount() {
return passCount;
}
public int getFailCount() {
return failCount;
}
public List getSettingInfoList() {
return settingInfoList;
}
}