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

org.mule.tools.maven.plugin.domain.Exclusion Maven / Gradle / Ivy

The newest version!
/**
 * Mule ESB Maven Tools
 *
 * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 *
 * The software in this package is published under the terms of the CPAL v1.0
 * license, a copy of which has been included with this distribution in the
 * LICENSE.txt file.
 */

package org.mule.tools.maven.plugin.domain;

public class Exclusion extends org.apache.maven.model.Exclusion
{
    @Override
    public String toString()
    {
        StringBuilder buf = new StringBuilder(128);
        buf.append("<");
        buf.append(getClass().getSimpleName());
        buf.append(" ");
        buf.append(getGroupId());
        buf.append(":");
        buf.append(getArtifactId());
        buf.append(">");
        return buf.toString();
    }

    public String asFilter()
    {
        StringBuilder buf = new StringBuilder(128);
        buf.append(getGroupId());
        buf.append(":");
        buf.append(getArtifactId());
        return buf.toString();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy