Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/jenkinsci/jenkins
/ functions
Functions
18,832 in github.com/jenkinsci/jenkins
⨍
Functions
18,832
◇
Types & classes
3,751
↓ 1,282 callers
Method
getName
Gets the name of the item. <p> The name must be unique among other {@link Item}s that belong to the same parent. <p> This name is also used for dire
core/src/main/java/hudson/model/Item.java:103
↓ 915 callers
Method
toString
Used to render the HTML. Should be a human readable text of what this executable is.
core/src/main/java/hudson/model/Queue.java:2254
↓ 897 callers
Method
is
Returns true if {@link BuildPtr} points to the given run.
core/src/main/java/hudson/model/Fingerprint.java:178
↓ 879 callers
Method
get
Gets the {@link Jenkins} singleton. @return {@link Jenkins} instance @throws IllegalStateException for the reasons that {@link #getInstanceOrNull} mig
core/src/main/java/jenkins/model/Jenkins.java:802
↓ 875 callers
Method
add
Add item to this view. @throws IOException Adding failed. @throws IllegalArgumentException View rejected to add an item.
core/src/main/java/hudson/model/DirectlyModifiableView.java:58
↓ 818 callers
Method
get
Looks for any existing cache hit. @param id {@link #getId} @return {@link Some} or {@link #NONE} or {@link #UNKNOWN}
core/src/main/java/jenkins/model/PeepholePermalink.java:215
↓ 697 callers
Method
equals
(Object obj)
core/src/main/java/org/acegisecurity/acls/sid/Sid.java:30
↓ 693 callers
Method
add
(TarOutputStream tar)
test/src/test/java/jenkins/security/Security3657Test.java:148
↓ 649 callers
Method
put
Updates the cache. Note that this may be called not just when a build completes or is deleted (meaning that the logical value of the cache has changed
core/src/main/java/jenkins/model/PeepholePermalink.java:226
↓ 510 callers
Method
getLogger
This writer will receive the output of the build
core/src/main/java/hudson/model/TaskListener.java:71
↓ 475 callers
Method
isValidInet6Address
Validates an IPv6 address. Returns true if valid. @param inet6Address the IPv6 address to validate @return true if the argument contains a valid IPv6
core/src/main/java/jenkins/org/apache/commons/validator/routines/InetAddressValidator.java:134
↓ 417 callers
Method
of
Create a custom group with the given order. @param customOrder the order of the group. @return the group
core/src/main/java/jenkins/model/menu/Group.java:57
↓ 404 callers
Method
println
(PrintWriter pw, String s)
test/src/test/java/jenkins/security/Security3030Test.java:164
↓ 396 callers
Method
not
Returns the label that represents {@code !this}
core/src/main/java/hudson/model/Label.java:492
↓ 389 callers
Method
size
@deprecated as of 1.485 {@link RunList}, despite its name, should be really used as {@link Iterable}, not as {@link List}.
core/src/main/java/hudson/util/RunList.java:127
↓ 388 callers
Method
toComputer
Gets the corresponding {@link Computer} object. @return this method can return null if there's no {@link Computer} object for this node, su
core/src/main/java/hudson/model/Node.java:222
↓ 342 callers
Method
get
(@NonNull Label label)
core/src/main/java/hudson/model/Label.java:231
↓ 330 callers
Method
getMessage
@return A short message (one word) that summarizes the offline cause. <p> For implementers: this can use HTML formatting, so make sure to only includ
core/src/main/java/jenkins/agents/IOfflineCause.java:84
↓ 328 callers
Method
contains
(TopLevelItem item)
test/src/test/java/hudson/model/ViewTest.java:1103
↓ 319 callers
Method
getBuildersList
()
core/src/main/java/hudson/model/Project.java:136
↓ 313 callers
Method
getName
Returns the name of this object. @return the name of this object, never null.
core/src/main/java/jenkins/model/Named.java:17
↓ 304 callers
Method
setSecurityRealm
Sets a security realm. @param securityRealm Security realm to set. If {@code null}, {@link SecurityRealm#NO_AUTHENTICATION} will
core/src/main/java/jenkins/model/Jenkins.java:2729
↓ 301 callers
Method
write
(byte[] buf, int len)
core/src/main/java/hudson/FilePath.java:2754
↓ 296 callers
Method
toPath
Wraps potential {@link java.nio.file.InvalidPathException} thrown by {@link File#toPath()} in an {@link IOException} for backward compatibility. @par
core/src/main/java/hudson/util/AtomicFileWriter.java:111
↓ 295 callers
Method
getUrl
Returns the URL of this item relative to the context root of the application. @see AbstractItem#getUrl() for how to implement this. @return URL
core/src/main/java/hudson/model/Item.java:174
↓ 265 callers
Method
child
The same as {@link FilePath#FilePath(FilePath,String)} but more OO. @param relOrAbsolute a relative or absolute path @return a file on the same channe
core/src/main/java/hudson/FilePath.java:1547
↓ 259 callers
Method
stderr
Controls where the stderr of the process goes. By default, it's bundled into stdout.
core/src/main/java/hudson/Launcher.java:353
↓ 253 callers
Method
setAuthorizationStrategy
Sets a new authorization strategy. @param a Authorization strategy to set. If {@code null}, {@link AuthorizationStrategy#UNSECURED} will be s
core/src/main/java/jenkins/model/Jenkins.java:2772
↓ 245 callers
Method
isEmpty
()
core/src/main/java/hudson/model/Queue.java:777
↓ 237 callers
Method
getAttribute
(String name)
core/src/main/java/jenkins/util/xstream/XStreamDOM.java:201
↓ 230 callers
Method
remove
Remove item from this view. @return false if item not present in view, true if removed. @throws IOException Removal failed. @throws IllegalArgumentEx
core/src/main/java/hudson/model/DirectlyModifiableView.java:50
↓ 226 callers
Method
getDisplayName
Gets the human readable short name of this item. <p> This method should try to return a short concise human readable string that describes this item.
core/src/main/java/hudson/model/Item.java:134
↓ 222 callers
Method
isWindows
()
core/src/main/java/hudson/Functions.java:559
↓ 216 callers
Method
checkPermission
Convenient short-cut for {@code getACL().checkPermission(permission)}
core/src/main/java/hudson/security/AccessControlled.java:48
↓ 207 callers
Method
getView
Gets a view of the given name. This also creates the URL binding for views (in the form of ".../view/FOOBAR/...")
core/src/main/java/hudson/model/ViewGroup.java:90
↓ 202 callers
Method
getInstance
()
core/src/main/java/jenkins/model/Jenkins.java:786
↓ 200 callers
Method
scheduleBuild2
@see jenkins.model.ParameterizedJobMixIn.ParameterizedJob#scheduleBuild2
core/src/main/java/jenkins/triggers/SCMTriggerItem.java:63
↓ 194 callers
Method
submit
(StaplerRequest2 req)
test/src/test/java/hudson/model/ViewTest.java:1108
↓ 187 callers
Method
lookupSingleton
Convenience method allowing lookup of the only instance of a given type. Equivalent to {@code ExtensionList.lookup(Class).get(Class)} if there is one
core/src/main/java/hudson/ExtensionList.java:452
↓ 185 callers
Method
contains
Checks if the job is in this collection.
core/src/main/java/hudson/model/View.java:237
↓ 181 callers
Method
call
(P1 param1)
core/src/main/java/hudson/util/Function1.java:33
↓ 179 callers
Method
getURL
()
test/src/test/java/jenkins/model/JenkinsLocationConfigurationTest.java:240
↓ 171 callers
Method
getById
Gets the {@link User} object by its {@code id} @param id the id of the user to retrieve and optionally create if it does not exist. @param create
core/src/main/java/hudson/model/User.java:686
↓ 169 callers
Method
stream
(final Op op)
cli/src/main/java/hudson/cli/PlainCLIProtocol.java:230
↓ 166 callers
Method
add
Adds an item to this group. Unlike {@link Jenkins#putItem} this does not try to call {@link Item#delete} on an existing item, nor does it fire {@link
core/src/main/java/jenkins/model/DirectlyModifiableTopLevelItemGroup.java:56
↓ 166 callers
Method
getId
()
core/src/main/java/hudson/model/User.java:281
↓ 162 callers
Method
assertNotReachable
(String url)
test/src/test/java/jenkins/security/stapler/StaplerAbstractTest.java:211
↓ 162 callers
Method
filter
In case the filter detects something that must stop the build, it must throw a {@link EnvVarsFilterException}. This method may be executed on agents t
core/src/main/java/jenkins/tasks/filters/EnvVarsFilterRule.java:46
↓ 161 callers
Method
getProperty
Gets the specific property, or null if the property is not configured for this job.
core/src/main/java/hudson/model/Job.java:627
↓ 161 callers
Method
resolve
Receives a variable name and obtains the value associated with the name. <p> This can be implemented simply on top of a {@link Map} (see {@link ByMap
core/src/main/java/hudson/util/VariableResolver.java:54
↓ 156 callers
Method
createProject
Creates a new job. @param type Descriptor for job type @param name Name for job @param notify Whether to fire onCreated method for all ItemListeners
core/src/main/java/jenkins/model/ModifiableTopLevelItemGroup.java:76
↓ 156 callers
Method
getBytes
Get the data that has been written to this ServletOutputStream. @return the data that has been written to this ServletOutputStream.
core/src/main/java/jenkins/slaves/EncryptedSlaveAgentJnlpFile.java:158
↓ 155 callers
Method
getRootDir
Gets the root directory on the file system that this {@link Item} can use freely for storing the configuration data. <p> This parameter is given by t
core/src/main/java/hudson/model/PersistenceRoot.java:44
↓ 154 callers
Method
ok
(String message)
core/src/main/java/hudson/util/FormValidation.java:157
↓ 151 callers
Method
isOverridden
Checks whether the method defined on the base type with the given arguments is overridden in the given derived type. @param base The base type.
core/src/main/java/hudson/Util.java:1547
↓ 150 callers
Method
isValid
<p>Checks if a field has a valid url address.</p> Note that the method calls #isValidAuthority() which checks that the domain is valid. @param value
core/src/main/java/jenkins/org/apache/commons/validator/routines/UrlValidator.java:306
↓ 146 callers
Method
map
Wraps another iterator and map iterable objects.
core/src/main/java/hudson/util/Iterators.java:333
↓ 144 callers
Method
lookup
Gets the extension list for a given type. Normally calls {@link Jenkins#getExtensionList(Class)} but falls back to an empty list in case {@link Jenkin
core/src/main/java/hudson/ExtensionList.java:436
↓ 144 callers
Method
stdout
Sets STDOUT destination. @param out Output stream. Use {@code null} to send STDOUT to {@code /dev/null}. @return {@code this}
core/src/main/java/hudson/Launcher.java:321
↓ 142 callers
Method
getId
Unique ID (per controller) that tracks the {@link Queue.Task} as it moves through different stages in the queue (each represented by different impleme
core/src/main/java/jenkins/model/queue/QueueItem.java:42
↓ 142 callers
Method
getQueue
()
core/src/main/java/jenkins/model/Jenkins.java:2090
↓ 138 callers
Method
getItem
Gets the {@link Item} inside this group that has a given name, or null if it does not exist. @return an item whose {@link Item#getName} is {@code name
core/src/main/java/hudson/model/ItemGroup.java:97
↓ 138 callers
Method
join
()
core/src/main/java/hudson/Launcher.java:1342
↓ 135 callers
Method
trim
Trim off references to non-existent builds and jobs, thereby making the fingerprint smaller. @return true if this record was modified. @throws
core/src/main/java/hudson/model/Fingerprint.java:1074
↓ 134 callers
Method
fromString
Parses a {@link RangeSet} from a string like "1-3,5,7-9"
core/src/main/java/hudson/model/Fingerprint.java:658
↓ 129 callers
Method
indexOf
(Object o)
core/src/main/java/hudson/util/RunList.java:173
↓ 129 callers
Method
setAttribute
(String name, Object value)
test/src/test/java/org/kohsuke/stapler/beanutils/DynaTagWithStringProperty.java:27
↓ 127 callers
Method
getPublishersList
()
core/src/main/java/hudson/model/Project.java:143
↓ 127 callers
Method
save
Save the settings to a file. Use {@link Items#getConfigFile(Item)} or {@link AbstractItem#getConfigFile()} to obtain the file to save the data.
core/src/main/java/hudson/model/Item.java:245
↓ 127 callers
Method
then
(Step s)
test/src/test/java/hudson/PluginManagerUtil.java:59
↓ 120 callers
Method
addIcon
(Icon icon)
core/src/main/java/org/jenkins/ui/icon/IconSet.java:85
↓ 120 callers
Method
getBoolean
Returns {@code true} if the system property named by the argument exists and is equal to the string {@code "true"}. If the system property does not ex
core/src/main/java/jenkins/util/SystemProperties.java:272
↓ 119 callers
Method
exists
()
test/src/test/java/hudson/model/RunTest.java:409
↓ 114 callers
Method
fileToPath
Converts a {@link File} into a {@link Path} and checks runtime exceptions. @throws IOException if {@code f.toPath()} throws {@link InvalidPathExceptio
core/src/main/java/hudson/Util.java:1796
↓ 114 callers
Method
getParent
Gets the parent that contains this item.
core/src/main/java/hudson/model/Item.java:83
↓ 113 callers
Method
get
Gets the {@link User} object by its id or full name. @param create If true, this method will never return null for valid input (by crea
core/src/main/java/hudson/model/User.java:542
↓ 113 callers
Method
getBuildByNumber
@param n The build number. @return null if no such build exists. @see Run#getNumber() @see LazyBuildMixIn#getBuildByNumber
core/src/main/java/hudson/model/Job.java:837
↓ 113 callers
Method
getString
(String key)
core/src/main/java/jenkins/util/SystemProperties.java:88
↓ 113 callers
Method
hasPermission
Convenient short-cut for {@code getACL().hasPermission(permission)}
core/src/main/java/hudson/security/AccessControlled.java:68
↓ 113 callers
Method
sleep
Performs a {@code Thread.sleep} using this unit. This is a convenience method that converts time arguments into the form required by the {@code Thread
core/src/main/java/hudson/util/TimeUnit2.java:452
↓ 112 callers
Method
getParameter
(String name)
core/src/main/java/hudson/model/ParametersAction.java:186
↓ 110 callers
Method
addProperty
Adds {@link JobProperty}. @since 1.188
core/src/main/java/hudson/model/Job.java:569
↓ 109 callers
Method
emptyList
()
core/src/main/java/hudson/Functions.java:1674
↓ 109 callers
Method
error
Sends out a string error message that indicates an error. @param message Human readable message to be sent. {@code error(null)} can be used
core/src/main/java/hudson/util/FormValidation.java:149
↓ 109 callers
Method
getValue
()
core/src/main/java/hudson/util/PackedMap.java:101
↓ 108 callers
Method
assertReachable
(String url, HttpMethod method)
test/src/test/java/jenkins/security/stapler/StaplerAbstractTest.java:175
↓ 108 callers
Method
child
(String name)
core/src/test/java/jenkins/util/VirtualFileTest.java:200
↓ 108 callers
Method
warning
(String message)
core/src/main/java/hudson/util/FormValidation.java:153
↓ 107 callers
Method
getKey
(T record)
core/src/main/java/hudson/widgets/HistoryWidget.java:297
↓ 105 callers
Method
exists
()
core/src/test/java/jenkins/util/VirtualFileTest.java:190
↓ 104 callers
Method
setProperty
()
test/src/test/java/jenkins/model/BuiltInNodeMigrationPropertyTest.java:47
↓ 103 callers
Method
getItemByFullName
Gets the {@link Item} object by its full name. Full names are like path names, where each name of {@link Item} is combined by '/'. @return null
core/src/main/java/jenkins/model/Jenkins.java:3128
↓ 101 callers
Method
setValue
(V value)
core/src/main/java/hudson/util/PackedMap.java:106
↓ 100 callers
Method
getLastBuild
Returns the newest build. @see LazyBuildMixIn#getLastBuild
core/src/main/java/hudson/model/Job.java:964
↓ 99 callers
Method
record
Just record that this workspace is being used, without paying any attention to the synchronization support.
core/src/main/java/hudson/slaves/WorkspaceList.java:198
↓ 99 callers
Method
stream
()
test/src/test/java/hudson/model/RunMapTest.java:159
↓ 98 callers
Method
delete
Deletes this item.
core/src/main/java/hudson/model/Item.java:251
↓ 98 callers
Method
getFullName
Gets the full name of this item, like "abc/def/ghi". <p> Full name consists of {@link #getName() name}s of {@link Item}s that lead from the root {@li
core/src/main/java/hudson/model/Item.java:118
↓ 98 callers
Method
length
()
core/src/main/java/hudson/search/Search.java:464
↓ 96 callers
Method
find
(String token, List<SearchItem> result)
core/src/main/java/hudson/search/SearchIndex.java:37
next →
1–100 of 18,832, ranked by callers