Class FixedVersionStrategy

    • Constructor Detail

      • FixedVersionStrategy

        public FixedVersionStrategy​(String version)
        Create a new FixedVersionStrategy with the given version string.
        Parameters:
        version - the fixed version string to use
    • Method Detail

      • getResourceVersion

        public String getResourceVersion​(Resource resource)
        Description copied from interface: VersionStrategy
        Determine the version for the given resource.
        Parameters:
        resource - the resource to check
        Returns:
        the version (never null)