Package jenkins.model

Interface Named

All Known Subinterfaces:
BuildableItem, BuildableItemWithBuildWrappers, IComputer, Item, ParameterizedJobMixIn.ParameterizedJob<JobT,RunT>, SCMedItem, TopLevelItem, TriggeredItem
All Known Implementing Classes:
AbstractCloudComputer, AbstractItem, AbstractProject, AbstractTopLevelItem, Computer, FreeStyleProject, Hudson.MasterComputer, Jenkins.MasterComputer, Job, MappingWorksheet.ExecutorChunk, Project, SlaveComputer, ViewJob

public interface Named
An object that has a name.

This interface is used to provide a consistent way to retrieve the name of an object in Jenkins. It is typically implemented by objects that need to be identified by a name, such as tasks, nodes, or other model objects.

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the name of this object.
  • Method Details

    • getName

      @NonNull String getName()
      Returns the name of this object.
      Returns:
      the name of this object, never null.