Use the version of print server that atlas services is using - so that there are less build configuration issues
This commit is contained in:
parent
2d042d1883
commit
ec0b7d77d8
1 changed files with 17 additions and 0 deletions
|
|
@ -890,6 +890,23 @@ class MetaInfo extends GISJsonSerialised {
|
|||
MetaInfo getNewMetaObject(script) {
|
||||
return new MetaInfo(script)
|
||||
}
|
||||
|
||||
def findAssociatedMeta(String productname, String subcomponentname) {
|
||||
def results = [
|
||||
'matchedmeta' : getNewMetaObject(this),
|
||||
'matchfound' : false
|
||||
]
|
||||
def results = allrelatedmeta()
|
||||
for (dependentmeta in results.metacollection) {
|
||||
if (dependentmeta.productinfo.productname == productname &&
|
||||
dependentmeta.productinfo.subcomponentname == componentname) {
|
||||
results.matchedmeta = dependentmeta
|
||||
results.matchfound = true
|
||||
break
|
||||
}
|
||||
}
|
||||
return results
|
||||
}
|
||||
}
|
||||
|
||||
MetaInfo metareset(script) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue