- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 30 for command2 (0.09 seconds)
-
src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java
@Test public void test_multiple_commands_configuration() throws Exception { // Test setting multiple commands without triggering execution final List<String> commands = Arrays.asList("command1 ${url} ${outputFile}", "command2 ${url} ${outputFile}", "command3 ${url} ${outputFile}"); generator.setCommandList(commands);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 27.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/auth/chain/CommandChain.java
} /** * Executes an external command with the given parameters. * @param commands The command array to execute. * @param username The username parameter for the command. * @param password The password parameter for the command. * @return The exit code of the executed command. */ protected int executeCommand(final String[] commands, final String username, final String password) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 14.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java
import jakarta.annotation.PostConstruct; /** * Command-based thumbnail generator that executes external commands to create thumbnails. * Uses external tools through command execution to generate thumbnail images from documents. */ public class CommandGenerator extends BaseThumbnailGenerator { private static final Logger logger = LogManager.getLogger(CommandGenerator.class); /** List of command strings to execute for thumbnail generation. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 01 12:47:47 GMT 2026 - 16.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java
assertNotNull(jobProcess2); // Since echo command completes quickly, processes might already be finished // So we just verify that processes were created without errors Set<String> sessionIds = processHelper.getRunningSessionIdSet(); // Since echo commands complete quickly, we may not catch them running // Just verify no exceptions occurred
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 16K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java
protected void setUpChild() throws Exception { // Get the queryProcessor that was registered in parent class queryProcessor = ComponentUtil.getComponent("queryProcessor"); // Register all query commands needed for testing new TermQueryCommand().register(); new MatchAllQueryCommand().register(); new PhraseQueryCommand().register(); new BooleanQueryCommand().register();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/ExecJob.java
lastaEnv = env; return this; } /** * Adds a system property to the command list. * If the property exists in the system, it uses that value with optional append value. * Otherwise, it uses the default value if provided. * * @param cmdList the command list to add the property to * @param name the property nameCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 14.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ProcessHelper.java
this.streamCloseTimeout = streamCloseTimeout; } /** * Sends a command to the process associated with the given session ID. * Uses finer-grained locking to avoid blocking other operations during I/O. * * @param sessionId unique identifier for the process session * @param command the command to send to the process * @throws JobNotFoundException if no process is found for the given session IDCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 06:54:47 GMT 2025 - 10.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exec/Crawler.java
} if (Constants.CRAWLER_PROCESS_COMMAND_THREAD_DUMP.equals(command)) { ThreadDumpUtil.printThreadDump(); } else { logger.warn("Unknown process command: command={}", command); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 32.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/query/QueryCommand.java
import org.opensearch.search.sort.SortOrder; /** * Abstract base class for query command implementations. * Provides common functionality for processing and executing search queries. */ public abstract class QueryCommand { /** * Default constructor for QueryCommand. * Creates a new instance of the query command with default settings. */ public QueryCommand() { // Default constructorCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Nov 23 11:39:05 GMT 2025 - 11.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java
import org.opensearch.monitor.process.ProcessProbe; import jakarta.annotation.Resource; /** * Executable class for generating thumbnails for indexed documents. * This class provides a command-line interface for thumbnail generation tasks. */ public class ThumbnailGenerator { private static final Logger logger = LogManager.getLogger(ThumbnailGenerator.class); /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 10.4K bytes - Click Count (0)