Kernel::System::SysConfig::ValueType::Directory - System configuration directory value type backed.
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');
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, );
This software is part of the OTRS project (https://otrs.org/).
This software comes with ABSOLUTELY NO WARRANTY. For details, see the enclosed file COPYING for license information (GPL). If you did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt.