Package hudson.model

Interface ResourceActivity

    • Method Detail

      • getResourceList

        default ResourceList getResourceList()
        Gets the list of Resources that this task requires. Used to make sure no two conflicting tasks run concurrently.

        This method must always return the ResourceList that contains the exact same set of Resources.

        If the activity doesn't lock any resources, just return ResourceList.EMPTY (or decline to override).

        Returns:
        never null
      • getDisplayName

        String getDisplayName()
        Used for rendering HTML.