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

com.hurence.logisland.repository.MalwareHost Maven / Gradle / Ivy

There is a newer version: 1.4.1
Show newest version
/**
 * Copyright (C) 2016 Hurence ([email protected])
 *
 * 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.hurence.logisland.repository;

import java.util.Date;

/**
 * represents a blacklisted host item
 * @author tom
 */
public class MalwareHost {
	
	private Date updateDate;
	private String url;
	private String ip;
	private String host;
	private String malwareBehavior;

	public MalwareHost(Date updateDate, String url, String ip, String host, String malwareBehavior) {
		this.setUpdateDate(updateDate);
		this.setUrl(url);
		this.setIp(ip);
		this.setHost(host);
		this.setMalwareBehavior(malwareBehavior);
	}


	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public String getMalwareBehavior() {
		return malwareBehavior;
	}

	public void setMalwareBehavior(String malwareBehavior) {
		this.malwareBehavior = malwareBehavior;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy