Interface IconDescriptor

    • Method Detail

      • getID

        UUID getID()
        Returns the repository-wide unique ID of the icon. It is used to reference the icon and allows for changing its name w/o needing to update any reference.
        Returns:
        The unique ID of the icon.
      • getName

        String getName()
        The arbitrary name of the icon.
        Returns:
        The arbitrary name of the icon.
      • getDescription

        String getDescription()
        Returns a description text of the icon (may be null).
        Returns:
        The description of the icon or null.
      • getDimensions

        IconDescriptor.Dimension[] getDimensions()
        Gets all dimensions (width and height) the corresponding icon is available for. If a needed dimension is not available, the icon will be scaled appropriately. However, scaling may decrease the quality of the icon.
        Returns:
        All dimensions (width and height) the corresponding icon is available for.
      • getRevision

        long getRevision()
        Gets the (base) revision of this icon which allows to track changes. To modify an icon (descriptor) it needs to be in a development branch. As soon as it is changed, its state is set to IN_DEVELOPMENT but the revision remains until the branch is released.
        Returns:
        The revision of this icon (descriptor) or the revision which it is based upon.
      • getState

        State getState()
        Gets the current deployment state of this code descriptor, that is whether it is currently modified, it can be used or it may not be used any more.
        Returns:
        The current deployment state of this code descriptor that implicitly also applies to all child entities.