Interface Root

  • All Superinterfaces:
    Block
    All Known Implementing Classes:
    State

    public interface Root
    extends Block
    This interface models the state root block, with global attributes.
    • Method Detail

      • getBump

        String getBump()
                throws DataAccessException,
                       IllegalPropertyException
        Returns the version identifier bumped on the previous release to produce the new release, if any. This value is only available after Nyx.infer() has run.
        Returns:
        the version identifier bumped on the previous release to produce the new release, if any. It may be null if no identifier has been bumped (i.e. because no significant changes have been detected in the release scope or because inference was inhibited by values overridden by user).
        Throws:
        DataAccessException - in case the attribute cannot be read or accessed.
        IllegalPropertyException - in case the attribute has been defined but has incorrect values or it can't be resolved.
        See Also:
        getReleaseScope(), ReleaseScope.getSignificant()
      • getConfiguration

        Configuration getConfiguration()
        Returns the configuration object. The configuration is a live reference.
        Returns:
        the configuration object.
      • getInternals

        Map<String,​String> getInternals()
        Returns the live map of internal attributes. Internal attributes are not documented so they must not be used by users as the implementation may change them at any time. Commands and other implementation objects are free to store and remove their own attributes here (i.e. for caching or store their internal state). When handling these attributes, entities must make sure the names (keys) do not overlap, unless for shared attributes. This object takes no control over the values stored in this map. Sensitive informations must not be stored here as they would be exposed when marshalling the attributes to files.
        Returns:
        the live map of internal attributes. The returned map is never null
      • getTimestamp

        Long getTimestamp()
        Returns the current timestamp.
        Returns:
        the current timestamp.