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

com.simpligility.maven.plugins.android.phase01generatesources.ConflictingLayout Maven / Gradle / Ivy

There is a newer version: 4.6.0
Show newest version
package com.simpligility.maven.plugins.android.phase01generatesources;

import java.util.Collections;
import java.util.Set;
import java.util.TreeSet;

/**
 * Represents a layout that is duplicating among more than one Android package.
 */
final class ConflictingLayout
{
    private final String layoutFileName;
    private final Set packageNames = new TreeSet();

    ConflictingLayout( String layoutFileName )
    {
        this.layoutFileName = layoutFileName;
    }

    public String getLayoutFileName()
    {
        return layoutFileName;
    }

    public void addPackageName( String packageName )
    {
        packageNames.add( packageName );
    }

    public Set getPackageNames()
    {
        return Collections.unmodifiableSet( packageNames );
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy