Mercurial > gemma
comparison pkg/imports/fm_bcnlat.go @ 4911:bcb8b69e4358 fairway-marks-import
Type specific names for fairway marks import
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 10 Feb 2020 18:02:22 +0100 |
parents | 6f244b5eb716 |
children | bfd8ef836998 |
comparison
equal
deleted
inserted
replaced
4910:ab184888d58b | 4911:bcb8b69e4358 |
---|---|
32 // Description gives a short info about relevant facts of this import. | 32 // Description gives a short info about relevant facts of this import. |
33 func (bcnlat *Bcnlat) Description() (string, error) { | 33 func (bcnlat *Bcnlat) Description() (string, error) { |
34 return bcnlat.URL + "|" + bcnlat.FeatureType, nil | 34 return bcnlat.URL + "|" + bcnlat.FeatureType, nil |
35 } | 35 } |
36 | 36 |
37 // FMJobKind is the import queue type identifier. | 37 // BCNLATJobKind is the import queue type identifier. |
38 const FMJobKind JobKind = "fm" | 38 const BCNLATJobKind JobKind = "fm_bcnlat" |
39 | 39 |
40 type bcnlatJobCreator struct{} | 40 type bcnlatJobCreator struct{} |
41 | 41 |
42 func init() { | 42 func init() { |
43 RegisterJobCreator(FMJobKind, bcnlatJobCreator{}) | 43 RegisterJobCreator(BCNLATJobKind, bcnlatJobCreator{}) |
44 } | 44 } |
45 | 45 |
46 func (bcnlatJobCreator) Description() string { return "fairway marks bcnlat" } | 46 func (bcnlatJobCreator) Description() string { return "fairway marks bcnlat" } |
47 | 47 |
48 func (bcnlatJobCreator) AutoAccept() bool { return true } | 48 func (bcnlatJobCreator) AutoAccept() bool { return true } |