Interface PatchJobs.YumSettingsOrBuilder (2.32.0)

public static interface PatchJobs.YumSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExcludes(int index)

public abstract String getExcludes(int index)

List of packages to exclude from update. These packages are excluded by using the yum --exclude flag.

repeated string excludes = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The excludes at the given index.

getExcludesBytes(int index)

public abstract ByteString getExcludesBytes(int index)

List of packages to exclude from update. These packages are excluded by using the yum --exclude flag.

repeated string excludes = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the excludes at the given index.

getExcludesCount()

public abstract int getExcludesCount()

List of packages to exclude from update. These packages are excluded by using the yum --exclude flag.

repeated string excludes = 3;

Returns
TypeDescription
int

The count of excludes.

getExcludesList()

public abstract List<String> getExcludesList()

List of packages to exclude from update. These packages are excluded by using the yum --exclude flag.

repeated string excludes = 3;

Returns
TypeDescription
List<String>

A list containing the excludes.

getExclusivePackages(int index)

public abstract String getExclusivePackages(int index)

An exclusive list of packages to be updated. These are the only packages that will be updated. If these packages are not installed, they will be ignored. This field must not be specified with any other patch configuration fields.

repeated string exclusive_packages = 4;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The exclusivePackages at the given index.

getExclusivePackagesBytes(int index)

public abstract ByteString getExclusivePackagesBytes(int index)

An exclusive list of packages to be updated. These are the only packages that will be updated. If these packages are not installed, they will be ignored. This field must not be specified with any other patch configuration fields.

repeated string exclusive_packages = 4;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the exclusivePackages at the given index.

getExclusivePackagesCount()

public abstract int getExclusivePackagesCount()

An exclusive list of packages to be updated. These are the only packages that will be updated. If these packages are not installed, they will be ignored. This field must not be specified with any other patch configuration fields.

repeated string exclusive_packages = 4;

Returns
TypeDescription
int

The count of exclusivePackages.

getExclusivePackagesList()

public abstract List<String> getExclusivePackagesList()

An exclusive list of packages to be updated. These are the only packages that will be updated. If these packages are not installed, they will be ignored. This field must not be specified with any other patch configuration fields.

repeated string exclusive_packages = 4;

Returns
TypeDescription
List<String>

A list containing the exclusivePackages.

getMinimal()

public abstract boolean getMinimal()

Will cause patch to run yum update-minimal instead.

bool minimal = 2;

Returns
TypeDescription
boolean

The minimal.

getSecurity()

public abstract boolean getSecurity()

Adds the --security flag to yum update. Not supported on all platforms.

bool security = 1;

Returns
TypeDescription
boolean

The security.