NAME
Kernel::System::SysConfig::ValueType::Directory – System configuration directory value type backed.
PUBLIC INTERFACE
new()
Create an object. Do not use it directly, instead use:
use Kernel::System::ObjectManager;
local $Kernel::OM = Kernel::System::ObjectManager->new();
my $ValueTypeObject = $Kernel::OM->Get('Kernel::System::SysConfig::ValueType::Directory');
SettingEffectiveValueCheck()
Check if provided EffectiveValue matches structure defined in XMLContentParsed.
my %Result = $ValueTypeObject->SettingEffectiveValueCheck(
XMLContentParsed => {
Value => [
{
'Item' => [
{
'Content' => '/etc',
'ValueType' => 'Directory',
},
],
},
],
},
EffectiveValue => '/etc',
);
Result: %Result = ( EffectiveValue => '/etc', # Note for Directory ValueTypes EffectiveValue is not changed. Success => 1, Error => undef, );