public class DescriptionColumn
extends hudson.views.ListViewColumn
ListViewColumn
that shows the description text of a Job
with priority given to
ObjectMetadataAction.getObjectDescription()
.Modifier and Type | Class and Description |
---|---|
static class |
DescriptionColumn.DescriptorImpl
Our descriptor.
|
Constructor and Description |
---|
DescriptionColumn()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
description(Object p,
Object job)
Gets the description of a job.
|
jenkins.scm.api.metadata.ObjectMetadataAction |
getPropertyOf(hudson.model.Item item)
Gets the metadata of an item.
|
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) @CheckForNull public jenkins.scm.api.metadata.ObjectMetadataAction getPropertyOf(hudson.model.Item item)
item
- the item.null
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public String description(@CheckForNull Object p, @NonNull Object job) throws IOException
p
- the metadata action.job
- the job.IOException
- if there was an issue encoding the description.Copyright © 2016–2017. All rights reserved.