Expose the local Sones.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 13 Oct 2010 06:14:41 +0000 (08:14 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 13 Oct 2010 06:14:41 +0000 (08:14 +0200)
src/main/java/net/pterodactylus/sone/core/Core.java

index 8563187..3399e9c 100644 (file)
@@ -87,6 +87,15 @@ public class Core extends AbstractService {
                return this;
        }
 
+       /**
+        * Returns the local Sones.
+        *
+        * @return The local Sones
+        */
+       public Set<Sone> localSones() {
+               return localSones;
+       }
+
        //
        // ACTIONS
        //