Class InstanceDescriptionImpl

  • All Implemented Interfaces:
    org.apache.sling.discovery.InstanceDescription

    public class InstanceDescriptionImpl
    extends Object
    implements org.apache.sling.discovery.InstanceDescription
    • Constructor Detail

      • InstanceDescriptionImpl

        public InstanceDescriptionImpl​(String id,
                                       Map<String,​String> properties)
    • Method Detail

      • isLocal

        public boolean isLocal()
        Specified by:
        isLocal in interface org.apache.sling.discovery.InstanceDescription
      • isLeader

        public boolean isLeader()
        Specified by:
        isLeader in interface org.apache.sling.discovery.InstanceDescription
      • getSlingId

        public String getSlingId()
        Specified by:
        getSlingId in interface org.apache.sling.discovery.InstanceDescription
      • getProperty

        public String getProperty​(String name)
        Specified by:
        getProperty in interface org.apache.sling.discovery.InstanceDescription
      • getProperties

        public Map<String,​String> getProperties()
        Specified by:
        getProperties in interface org.apache.sling.discovery.InstanceDescription
      • getClusterView

        public org.apache.sling.discovery.ClusterView getClusterView()
        Specified by:
        getClusterView in interface org.apache.sling.discovery.InstanceDescription