com.jayway.maven.plugins.android.phase01generatesources.ConflictingLayout Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of android-maven-plugin Show documentation
Show all versions of android-maven-plugin Show documentation
Maven Plugin for Android Development
package com.jayway.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 );
}
}