summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/main/java/bjc/utils/components/FileComponentRepository.java
diff options
context:
space:
mode:
Diffstat (limited to 'BJC-Utils2/src/main/java/bjc/utils/components/FileComponentRepository.java')
-rw-r--r--BJC-Utils2/src/main/java/bjc/utils/components/FileComponentRepository.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/BJC-Utils2/src/main/java/bjc/utils/components/FileComponentRepository.java b/BJC-Utils2/src/main/java/bjc/utils/components/FileComponentRepository.java
index d69b794..6fd6177 100644
--- a/BJC-Utils2/src/main/java/bjc/utils/components/FileComponentRepository.java
+++ b/BJC-Utils2/src/main/java/bjc/utils/components/FileComponentRepository.java
@@ -148,4 +148,30 @@ public class FileComponentRepository<ComponentType extends IDescribedComponent>
+ pth.toString() + ". This component will not be loaded");
}
}
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder builder = new StringBuilder();
+ builder.append("FileComponentRepository [");
+
+ if(components != null) {
+ builder.append("components=");
+ builder.append(components);
+ builder.append(", ");
+ }
+
+ if(sourceDirectory != null) {
+ builder.append("sourceDirectory=");
+ builder.append(sourceDirectory);
+ }
+
+ builder.append("]");
+
+ return builder.toString();
+ }
} \ No newline at end of file