1 package com.simpligility.maven.plugins.android.phase01generatesources;
2
3 import java.util.Collections;
4 import java.util.Set;
5 import java.util.TreeSet;
6
7
8
9
10 final class ConflictingLayout
11 {
12 private final String layoutFileName;
13 private final Set<String> packageNames = new TreeSet<String>();
14
15 ConflictingLayout( String layoutFileName )
16 {
17 this.layoutFileName = layoutFileName;
18 }
19
20 public String getLayoutFileName()
21 {
22 return layoutFileName;
23 }
24
25 public void addPackageName( String packageName )
26 {
27 packageNames.add( packageName );
28 }
29
30 public Set<String> getPackageNames()
31 {
32 return Collections.unmodifiableSet( packageNames );
33 }
34 }