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

org.apache.maven.plugin.eclipse.EclipseConfigFile Maven / Gradle / Ivy

Go to download

The Eclipse Plugin is used to generate Eclipse IDE files (.project, .classpath and the .settings folder) from a POM.

There is a newer version: 2.10
Show newest version
/*
 * 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.
 */
package org.apache.maven.plugin.eclipse;

import java.net.URL;

/**
 * Represents a generic configuration file, with a name and a content.
 * 
 * @author Fabrizio Giustina
 * @version $Id: EclipseConfigFile.java 617563 2008-02-01 17:16:45Z aheritier $
 */
public class EclipseConfigFile
{
    /**
     * The name of the file.
     */
    private String name;

    /**
     * The file content.
     */
    private String content;

    /**
     * The file location
     * 
     * @since 2.5
     */
    private String location;

    /**
     * The file URL
     * 
     * @since 2.5
     */
    private URL url;

    /**
     * Getter for content.
     * 
     * @return Returns the content.
     */
    public String getContent()
    {
        return content;
    }

    /**
     * Setter for content.
     * 
     * @param content The content to set.
     */
    public void setContent( String content )
    {
        this.content = content;
    }

    /**
     * Getter for name.
     * 
     * @return Returns the name.
     */
    public String getName()
    {
        return name;
    }

    /**
     * Setter for name.
     * 
     * @param name The name to set.
     */
    public void setName( String name )
    {
        this.name = name;
    }

    /**
     * Getter for location.
     * 
     * @return Returns the location.
     */
    public String getLocation()
    {
        return location;
    }

    /**
     * Setter for location.
     * 
     * @param location The location to set.
     */
    public void setLocation( String location )
    {
        this.location = location;
    }

    /**
     * Getter for url.
     * 
     * @return Returns the url.
     */
    public URL getURL()
    {
        return url;
    }

    /**
     * Setter for url.
     * 
     * @param location The url to set.
     */
    public void setURL( URL url )
    {
        this.url = url;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy