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

org.apache.maven.plugin.issues.IssueManagementSystem Maven / Gradle / Ivy

Go to download

Creates a release history for inclusion into the site and assists in generating an announcement mail.

There is a newer version: 2.12.1
Show newest version
package org.apache.maven.plugin.issues;

/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you 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.
 */

import java.util.Map;

import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.changes.IssueType;

/**
 * An interface for issue management systems.
 * 

* The plan is to enhance this interface to allow communication with different issue management systems in a consistent * way. * * @version $Id: IssueManagementSystem.java 1586409 2014-04-10 18:48:13Z dennisl $ */ public interface IssueManagementSystem { /** * Get a mapping of issue types used in this issue management system to the ones used in a changes.xml file. * * @return The map from keys used in poms and other config files to issue types. */ abstract Map getIssueTypeMap(); /** * Get the name of the issue management system. * * @return The name of the IMS. */ abstract String getName(); /** * Configure this issue management system. * * @param issueTypes The mapping of issue types used in this issue management system to the ones used in a changes.xml file * @throws MojoExecutionException If the configuration fails */ abstract void applyConfiguration( Map issueTypes ) throws MojoExecutionException; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy