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

com.meltmedia.cadmium.status.Status Maven / Gradle / Ivy

There is a newer version: 1.0.1
Show newest version
/**
 *    Copyright 2012 meltmedia
 *
 *    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.meltmedia.cadmium.status;

import java.util.List;

public class Status {
  
  public Status() {}

	public Status(String environment, String repo, String branch, String revision, String source, String maintPageState, List members) {
		
		this.environment = environment;
		this.repo = repo;
		this.branch = branch;
		this.revision = revision;
		this.source = source;
		this.maintPageState = maintPageState;
        this.setMembers(members);
	}	
	
	private String groupName;
	private String contentDir;
	private String environment;
	private String repo;
	private String branch;
	private String revision;
	private String source;
	private String maintPageState;
	private List members;
  private String configDir;
  private String configRepo;
  private String configBranch;
  private String configRevision;
	
	
	public String getGroupName() {
    return groupName;
  }

  public void setGroupName(String groupName) {
    this.groupName = groupName;
  }

  public String getContentDir() {
    return contentDir;
  }

  public void setContentDir(String contentDir) {
    this.contentDir = contentDir;
  }

  public String getEnvironment() {
		return environment;
	}
	public void setEnvironment(String environment) {
		this.environment = environment;
	}
	public String getRepo() {
		return repo;
	}
	public void setRepo(String repo) {
		this.repo = repo;
	}
	public String getBranch() {
		return branch;
	}
	public void setBranch(String branch) {
		this.branch = branch;
	}
	public String getRevision() {
		return revision;
	}
	public void setRevision(String revision) {
		this.revision = revision;
	}
	public String getSource() {
		return source;
	}
	public void setSource(String source) {
		this.source = source;
	}
	public String getMaintPageState() {
		return maintPageState;
	}
	@Override
	public String toString() {
		return "Status [environment=" + environment + ", repo=" + repo
				+ ", branch=" + branch + ", revision=" + revision + ", source="
				+ source + ", maintPageState=" + maintPageState + ", members="
				+ members + "]";
	}
	public void setMaintPageState(String maintPageState) {
		this.maintPageState = maintPageState;
	}
	public void setMembers(List members) {
		this.members = members;
	}
	public List getMembers() {
		return members;
	}

  public String getConfigDir() {
    return configDir;
  }

  public void setConfigDir(String configDir) {
    this.configDir = configDir;
  }

  public String getConfigRepo() {
    return configRepo;
  }

  public void setConfigRepo(String configRepo) {
    this.configRepo = configRepo;
  }

  public String getConfigBranch() {
    return configBranch;
  }

  public void setConfigBranch(String configBranch) {
    this.configBranch = configBranch;
  }

  public String getConfigRevision() {
    return configRevision;
  }

  public void setConfigRevision(String configRevision) {
    this.configRevision = configRevision;
  }
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy