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

org.kuali.maven.plugins.fusion.Mapping Maven / Gradle / Ivy

/**
 * Copyright 2011-2014 The Kuali Foundation
 *
 * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
 *
 * 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 org.kuali.maven.plugins.fusion;

public class Mapping implements Comparable {

	String module;
	String branchName;
	String versionProperty;
	
	String refSpec;

	public Mapping() {
		this(null, null, null, null);
	}

	public Mapping(String module, String branchName, String versionProperty) {
		this (module, branchName, versionProperty, null);
	}
	public Mapping(String module, String branchName, String versionProperty, String refSpec) {
		super();
		this.module = module;
		this.branchName = branchName;
		this.versionProperty = versionProperty;
		this.refSpec = refSpec;
	}

	@Override
	public int compareTo(Mapping mapping) {
		return module.compareTo(mapping.getModule());
	}

	public String getModule() {
		return module;
	}

	public void setModule(String module) {
		this.module = module;
	}

	public String getVersionProperty() {
		return versionProperty;
	}

	public void setVersionProperty(String property) {
		this.versionProperty = property;
	}

	public String getBranchName() {
		return branchName;
	}

	public void setBranchName(String branchName) {
		this.branchName = branchName;
	}

	public String getRefSpec() {
		return refSpec;
	}

	public void setRefSpec(String refSpec) {
		this.refSpec = refSpec;
	}
	
	
	
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy