Interface InstanceConfiguration

All Superinterfaces:
Configuration
All Known Implementing Classes:
InstanceApacheConfiguration

public interface InstanceConfiguration extends Configuration
Container for an instance configuration.
Author:
Dustin Frisch <fooker@lab.sh>
  • Method Details

    • getInstanceIdentifier

      String getInstanceIdentifier()
      Returns the identifier of the instance.
      Returns:
      the identifier string
    • subset

      InstanceConfiguration subset(String prefix)
      Return a decorator Configuration containing every key from the current Configuration that starts with the specified prefix. The prefix is removed from the keys in the subset. Since the subset is a decorator and not a modified copy of the initial Configuration, any change made to the subset is available to the Configuration, and reciprocally.
      Parameters:
      prefix - The prefix used to select the properties
      Returns:
      a subset configuration