NAME
Jenkins::i18n::FindResults - class that represents the results of Jenkins::i18n::find_files
SYNOPSIS
METHODS
new
Creates and returns an instance.
No parameter is expected.
add_file
Adds a file to the files set.
Expects a string as parameters.
Return nothing.
add_warning
Adds a warning to the warnings set.
Expects as parameters a string.
Return nothing.
files
Returns an iterator for the files set, as a sub
reference.
The iterator will return undef
when there are no more elements so you can use it inside an while
loop.
The iterator only moves foward and the items will be alphabetically sorted.
Adding new files to the set after an iterator is created won't update it automatically, one will need to create a new one with this method.
Expects no parameter.
warnings
Returns an iterator for the warnings set, as a sub
reference.
The iterator will return undef
when there are no more elements so you can use it inside an while
loop.
The iterator only moves foward, the order of items will be in the sequence of registry of each warning.
Adding new files to the set after an iterator is created won't update it automatically, one will need to create a new one with this method.
Expects no parameter.
size
Returns a integer with the total of elements for the files.
SEE ALSO
AUTHOR
Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2022 of Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>
This file is part of Jenkins Translation Tool project.
Jenkins Translation Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Jenkins Translation Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Jenkins Translation Tool. If not, see (http://www.gnu.org/licenses/).
The original translation-tool.pl
script was licensed through the MIT License, copyright (c) 2004-, Kohsuke Kawaguchi, Sun Microsystems, Inc., and a number of other of contributors. Translations files generated by the Jenkins Translation Tool CLI are distributed with the same MIT License.