Class InetAddressContentFilter
- java.lang.Object
-
- com.cloudbees.jenkins.support.filter.InetAddressContentFilter
-
- All Implemented Interfaces:
ContentFilter
,ExtensionPoint
@Extension @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class InetAddressContentFilter extends Object implements ContentFilter
Filters contents by mapping all found IPv4 and IPv6 addresses to generated names.- Since:
- TODO
- See Also:
ContentMappings
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from interface com.cloudbees.jenkins.support.filter.ContentFilter
ALL
-
-
Constructor Summary
Constructors Constructor Description InetAddressContentFilter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
filter(String input)
Filters a line or snippet of text.static InetAddressContentFilter
get()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.cloudbees.jenkins.support.filter.ContentFilter
ensureLoaded, reload
-
-
-
-
Method Detail
-
get
public static InetAddressContentFilter get()
- Returns:
- the singleton instance
-
filter
@NonNull public String filter(@NonNull String input)
Description copied from interface:ContentFilter
Filters a line or snippet of text.- Specified by:
filter
in interfaceContentFilter
- Parameters:
input
- input data to filter- Returns:
- the filtered input data
-
-