Skip to content

Commit

Permalink
ui-gui: added product archive to the ui datacache
Browse files Browse the repository at this point in the history
  • Loading branch information
DenChaykovskiy committed Mar 27, 2024
1 parent 7a2c969 commit e5cf4fe
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions ui/gui/src/main/java/de/dlr/proseo/ui/gui/DataCache.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ public class DataCache {

/** List with cached workflows */
private List<String> workflows = null;

/** List with cached product archives */
private List<String> productarchives = null;

/**
* Clears the data cache
Expand All @@ -48,6 +51,7 @@ public void clear() {
fileClasses = null;
processingModes = null;
spaceCrafts = null;
productarchives = null;
}

/**
Expand Down Expand Up @@ -121,6 +125,15 @@ public List<String> getSpaceCrafts() {
public List<String> getWorkflows() {
return workflows;
}

/**
* Get the product archives
*
* @return the product archives
*/
public List<String> getProductArchives() {
return productarchives;
}

/**
* Set the configured processors
Expand Down Expand Up @@ -193,5 +206,14 @@ public void setSpaceCrafts(List<String> spaceCrafts) {
public void setWorkflows(List<String> workflows) {
this.workflows = workflows;
}

/**
* Set the product archives
*
* @param productarchives the product archive to set
*/
public void setProductarchives(List<String> productarchives) {
this.productarchives = productarchives;
}

}

0 comments on commit e5cf4fe

Please sign in to comment.