Class AliasedResource

    • Constructor Detail

      • AliasedResource

        public AliasedResource​(ResourceType resourceType,
                               java.lang.String domain,
                               IfInfo ifInfo,
                               java.lang.String ifAliasComment,
                               java.lang.String ifAlias)

        Constructor for AliasedResource.

        Parameters:
        resourceType - a ResourceType object.
        domain - a String object.
        ifInfo - a IfInfo object.
        ifAliasComment - a String object.
        ifAlias - a String object.
    • Method Detail

      • getIfInfo

        public IfInfo getIfInfo()

        getIfInfo

        Returns:
        a IfInfo object.
      • getDomain

        public java.lang.String getDomain()

        getDomain

        Returns:
        a String object.
      • toString

        public java.lang.String toString()

        toString

        Overrides:
        toString in class java.lang.Object
        Returns:
        a String object.
      • isScheduledForCollection

        public boolean isScheduledForCollection()

        isScheduledForCollection

        Returns:
        a boolean.
      • visit

        public void visit​(CollectionSetVisitor visitor)
        Provide a way to visit all the values in the CollectionSet, for any appropriate purposes (persisting, thresholding, or others) The expectation is that calling this method will ultimately call visitResource, visitGroup and visitAttribute (as appropriate)
        Specified by:
        visit in interface CollectionVisitable
        Overrides:
        visit in class SnmpCollectionResource
        Parameters:
        visitor - a CollectionSetVisitor object.
      • getResourceTypeName

        public java.lang.String getResourceTypeName()

        getResourceTypeName

        Returns:
        a String object.
      • getInstance

        public java.lang.String getInstance()

        getInstance

        Returns:
        a String object.
      • getUnmodifiedInstance

        public java.lang.String getUnmodifiedInstance()
        Description copied from interface: CollectionResource
        Returns the unmodified instance string this CollectionResource represents.
        Returns:
        a String object.
      • getParent

        public ResourcePath getParent()
        Description copied from interface: CollectionResource
        Returns the name of the parent resource.
        Returns:
        a String object.
      • getInterfaceLabel

        public java.lang.String getInterfaceLabel()

        getLabel

        Returns:
        a String object.