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

com.offbytwo.jenkins.model.View Maven / Gradle / Ivy

There is a newer version: 0.3.8
Show newest version
package com.offbytwo.jenkins.model;

import com.thoughtworks.xstream.XStream;
import com.thoughtworks.xstream.io.json.JsonHierarchicalStreamDriver;

public class View extends MainView {

	private String name = "";
	private String description = "";
	private String url = "";
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public View() {
		
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getUrl() {
		return url;
	}

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

	@Override
	public String toString() {
		XStream xstream = new XStream(new JsonHierarchicalStreamDriver());
		return xstream.toXML(this);
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy